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 And preserve the prayers and the middle prayer, and stand obedient 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 of you who die and leave widows should bequeath for their widows a year's maintenance and residence; but if they leave (The residence), there is no blame on you for what they do with themselves, provided it is reasonable. And Allah is Exalted in Power, 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