It is no sin if you divorce your wives while you have not yet touched them or fixed any dower for them. In such a case, pay them something anyhow. A rich man should pay fairly according to his means and a poor man according to his resources, for this is an obligation on the righteous people. 236 If you divorce them before the marriage is consummated, but after their dower money has been settled, give them the half of their dower money, unless they [the women] agree to forego it, or the man [the husband] in whose hand lies the marriage knot foregoes it. To forego is nearer to righteousness. Do not neglect any chance of behaving benevolently towards each other. God is observant of whatever you do. 237 Maintain with care the [obligatory] prayers and [in particular] the middle prayer and stand before Allah, devoutly obedient. 238 In an emergency you may say your prayers while walking or riding; but when you are safe, remember God, as He has taught you what you did not know before. 239 Those who are about to die and leave widows behind should bequeath for their wives the expenses of one year's maintenance. The widows must not be expelled from the house for up to one year. It is no sin for the relatives of the deceased to permit the widows to leave the house before the appointed time and do what is reasonable. God is Majestic and Wise. 240 Likewise, the divorced women should also be given something in accordance with the known fair standard. This is an obligation upon the God-fearing people. 241 Like this Allah clarifies to you His verses in order that you understand. 242