2:240

وَالَّذِينَ يُتَوَفَّوْنَ مِنكُمْ وَيَذَرُونَ أَزْوَاجًا وَصِيَّةً لِّأَزْوَاجِهِم مَّتَاعًا إِلَى الْحَوْلِ غَيْرَ إِخْرَاجٍ فَإِنْ خَرَجْنَ فَلَا جُنَاحَ عَلَيْكُمْ فِي مَا فَعَلْنَ فِي أَنفُسِهِنَّ مِن مَّعْرُوفٍ وَاللَّهُ عَزِيزٌ حَكِيمٌ

Transliteration:

Waallatheena yutawaffawna minkum wayatharoona azwajan wasiyyatan li-azwajihim mataAAan ila alhawli ghayra ikhrajin fa-in kharajna fala junaha AAalaykum fee ma faAAalna fee anfusihinna min maAAroofin waAllahu AAazeezun hakeemun

Word by Word:

And those who die among you and leave behind (their) wives (should make) a will for their wives, provision for the year without driving (them) out. But if they leave then no blame upon you in what they do concerning themselves [of] honorably. And Allah (is) All-Mighty, All-Wise.

Translations:

AND IF any of you die and leave wives behind, they bequeath thereby to their widows [the right to] one year's maintenance without their being obliged to leave [the dead husband's home]. If, however, they leave [of their own accord], there shall be no sin in whatever they may do with themselves in a lawful manner. And God is almighty, wise.

Those of you who die and leave widows should bequeath for their widows a year's maintenance and residence; but if they leave (The residence), there is no blame on you for what they do with themselves, provided it is reasonable. And God is Exal ted in Power, Wise.

(In the case of) those of you who are about to die and leave behind them wives, they should bequeath unto their wives a provision for the year without turning them out, but if they go out (of their own accord) there is no sin for you in that which they do of themselves within their rights. Allah is Mighty, Wise.

And those of you who die and leave wives behind, should make a bequest in favour of their wives of maintenance for a year without turning (them) out. Then if they themselves go away, there is no blame on you for what they do of lawful deeds concerning themselves. And Allah is Mighty, Wise.

And those who are taken in death among you and leave wives behind - for their wives is a bequest: maintenance for one year without turning [them] out. But if they leave [of their own accord], then there is no blame upon you for what they do with themselves in an acceptable way. And Allah is Exalted in Might and Wise.