There is no sin in divorcing your wives before the consummation of marriage or settling the dowry; but then provide adequately for them, the affluent according to their means, the poor in accordance with theirs as is befitting. This is surely the duty of those who do good. 236 In case you fixed a dower for them and then divorced them before you touched them, you should pay half of the fixed dower. But there is no harm if the woman agrees to forego it or the man, in whose hands is the marriage tie, is generous enough (to pay the dower in full). And if you (men) act generously, it is akin to piety. Do not forget to show generosity in your dealings with one another for Allah sees what you do. 237 And preserve the prayers and the middle prayer, and stand obedient to Allah. 238 And if you fear [an enemy, then pray] on foot or riding. But when you are secure, then remember Allah [in prayer], as He has taught you that which you did not [previously] 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 Making a fair provision for women who are divorced is the duty of those who are God-fearing and pious. 241 Thus God makes His commandments clear to you, so that you may understand. 242