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 And if you divorce them before you have touched them and you have already specified for them an obligation, then [give] half of what you specified - unless they forego the right or the one in whose hand is the marriage contract foregoes it. And to forego it is nearer to righteousness. And do not forget graciousness between you. Indeed Allah, of whatever you do, is Seeing. 237 Maintain with care the [obligatory] prayers and [in particular] the middle prayer and stand before Allah, devoutly obedient. 238 And if you fear, then (pray) on foot or riding. But when you are safe, then remember Allah, as 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 The divorced women have the right to receive reasonable provisions. It is an obligation for the pious. 241 Thus does Allah make clear to you His verses that you might use reason. 242