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 having touched them, but after having settled a dower upon them, then [give them] half of what you have settled - unless it be that they forgo their claim or he in whose hand is the marriage-tie forgoes his claim [to half of the dower]: and to forgo what is due to you is more in accord with God-consciousness. And forget not [that you are to act with] grace towards one another: verily, God sees all that you do. 237 Be guardians of your prayers, and of the midmost prayer, and stand up with devotion to Allah. 238 If you fear (war or danger), pray while standing or on horseback; but when you have safety again remember God, for He taught you what you did not know. 239 Those among you about to die leaving wives behind, should bequeath a year's maintenance and lodging for them, without expelling them from home. But if they leave (of their own accord), you will not be blamed for what they do with themselves in their own rights. God is all-mighty and all-wise. 240 And for divorced women is a provision according to what is acceptable - a duty upon the righteous. 241 So does God pronounce His decrees that you may understand. 242