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 you have touched them but after their dowry has been determined, give them half of what you determined, unless they pardon, or he pardons in whose hand is the marriage knot. And if you pardon it is nearer to warding off (evil). Do not forget the generosity between each other. Allah is the Seer of what you do. 237 Guard the prayers, and the middle prayer, and stand up to Allah truly devout. 238 When you are exposed to danger, pray on foot or while riding; when you are safe again, remember God, for He has taught you what you did not know. 239 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. 240 There shall be for divorced women provision honourable -- an obligation on the godfearing. 241 So does God pronounce His decrees that you may understand. 242