There is no fault in you, if you divorce women while as yet you have not touched them nor appointed any marriage-portion for them; yet make provision for them, the affluent man according to his means, and according to his means the needy man, honourably -- an obligation on the good-doers. 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 Guard strictly your (habit of) prayers, especially the Middle Prayer; and stand before Allah in a devout (frame of mind). 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 those of you who die and leave behind wives should bequeath for their wives a year's maintenance and residence without turning them out, but if they (wives) leave, there is no sin on you for that which they do of themselves, provided it is honourable (e.g. lawful marriage). And Allah is All-Mighty, All-Wise. [The order of this Verse has been cancelled (abrogated) by Verse 4:12]. 240 And the divorced women, too, shall have [a right to] maintenance in a goodly manner: this is a duty for all who are conscious of God. 241 In this way God makes clear unto you His messages, so that you might [learn to] use your reason. 242