002 Surah al-Baqarah, Ayah 240
وَٱلَّذِینَ یُتَوَفَّوۡنَ مِنكُمۡ وَیَذَرُونَ أَزۡوَ ٰجࣰا وَصِیَّةࣰ لِّأَزۡوَ ٰجِهِم مَّتَـٰعًا إِلَى ٱلۡحَوۡلِ غَیۡرَ إِخۡرَاجࣲۚ فَإِنۡ خَرَجۡنَ فَلَا جُنَاحَ عَلَیۡكُمۡ فِی مَا فَعَلۡنَ فِیۤ أَنفُسِهِنَّ مِن مَّعۡرُوفࣲۗ وَٱللَّهُ عَزِیزٌ حَكِیمࣱ And those of you who die and leave behind wives should bequeath for their wives a year's maintenance and residence without turning them out, but if they (wives) leave, there is no sin on you for that which they do of themselves, provided it is honourable (e.g. lawful marriage). And Allah is All-Mighty, All-Wise. [The order of this Verse has been cancelled (abrogated) by Verse 4:12]. https://quran.com/2/240 quran://2/240