Sahih al-Bukhari 5344
Narrated Mujahid:
(regarding the Verse): 'If any of you dies and leaves wives behind,' That was the period of the 'Iddah 
which the widow was obliged to spend in the house of the late husband. Then Allah revealed: And 
those of you who die and leave wives should bequeath for their wives a year's maintenance and 
residence without turning them out, but if they leave, there is no blame on you for what they do of 
themselves, provided it is honorable (i.e. lawful marriage) (2.240) Mujahid said: Allah has ordered 
that a widow has the right to stay for seven months and twenty days with her husband's relatives 
through her husband's will and testament so that she will complete the period of one year (of 'Iddah). 
But the widow has the right to stay that extra period or go out of her husband's house as is indicated 
by the statement of Allah: 'But if they leave there is no blame on you,... ' (2.240) Ibn `Abbas said: The 
above Verse has cancelled the order of spending the period of the 'Iddah at her late husband's house, 
and so she could spend her period of the 'Iddah wherever she likes. And Allah says: 'Without turning 
them out.' 'Ata said: If she would, she could spend her period of the 'Iddah at her husband's house, and 
live there according to her (husband's) will and testament, and if she would, she could go out (of her 
husband's house) as Allah says: 'There is no blame on you for what they do of themselves.' (2.240) 
'Ata added: Then the Verses of inheritance were revealed and the order of residence (for the widow) 
was cancelled, and she could spend her period of the 'Iddah wherever she would like, and she was no 
longer entitled to be accommodated by her husband's family.
حَدَّثَنِي إِسْحَاقُ بْنُ مَنْصُورٍ، أَخْبَرَنَا رَوْحُ بْنُ عُبَادَةَ، حَدَّثَنَا شِبْلٌ، عَنِ ابْنِ أَبِي نَجِيحٍ، عَنْ مُجَاهِدٍ، ‏{‏وَالَّذِينَ يُتَوَفَّوْنَ مِنْكُمْ وَيَذَرُونَ أَزْوَاجًا‏}‏ قَالَ كَانَتْ هَذِهِ الْعِدَّةُ تَعْتَدُّ عِنْدَ أَهْلِ زَوْجِهَا وَاجِبًا، فَأَنْزَلَ اللَّهُ ‏{‏وَالَّذِينَ يُتَوَفَّوْنَ مِنْكُمْ وَيَذَرُونَ أَزْوَاجًا وَصِيَّةً لأَزْوَاجِهِمْ مَتَاعًا إِلَى الْحَوْلِ غَيْرَ إِخْرَاجٍ فَإِنْ خَرَجْنَ فَلاَ جُنَاحَ عَلَيْكُمْ فِيمَا فَعَلْنَ فِي أَنْفُسِهِنَّ مِنْ مَعْرُوفٍ‏}‏ قَالَ جَعَلَ اللَّهُ لَهَا تَمَامَ السَّنَةِ سَبْعَةَ أَشْهُرٍ وَعِشْرِينَ لَيْلَةً وَصِيَّةً إِنْ شَاءَتْ سَكَنَتْ فِي وَصِيَّتِهَا، وَإِنْ شَاءَتْ خَرَجَتْ، وَهْوَ قَوْلُ اللَّهِ تَعَالَى ‏{‏غَيْرَ إِخْرَاجٍ فَإِنْ خَرَجْنَ فَلاَ جُنَاحَ عَلَيْكُمْ‏}‏ فَالْعِدَّةُ كَمَا هِيَ، وَاجِبٌ عَلَيْهَا، زَعَمَ ذَلِكَ عَنْ مُجَاهِدٍ‏.‏ وَقَالَ عَطَاءٌ قَالَ ابْنُ عَبَّاسٍ نَسَخَتْ هَذِهِ الآيَةُ عِدَّتَهَا عِنْدَ أَهْلِهَا، فَتَعْتَدُّ حَيْثُ شَاءَتْ، وَقَوْلُ اللَّهِ تَعَالَى ‏{‏غَيْرَ إِخْرَاجٍ‏}‏‏.‏ وَقَالَ عَطَاءٌ إِنْ شَاءَتِ اعْتَدَّتْ عِنْدَ أَهْلِهَا، وَسَكَنَتْ فِي وَصِيَّتِهَا، وَإِنْ شَاءَتْ خَرَجَتْ لِقَوْلِ اللَّهِ ‏{‏فَلاَ جُنَاحَ عَلَيْكُمْ فِيمَا فَعَلْنَ‏}‏‏.‏ قَالَ عَطَاءٌ ثُمَّ جَاءَ الْمِيرَاثُ فَنَسَخَ السُّكْنَى، فَتَعْتَدُّ حَيْثُ شَاءَتْ، وَلاَ سُكْنَى لَهَا‏.‏