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 If you divorce them before you have touched them and have appointed the bridal money, then payment of half of what is agreed is ordained unless the women forgo some of it, or he in whose hand is the marriage tie, pays more; and O men, your paying more is closer to piety; and do not forget the favours to each other; indeed Allah is seeing what you do. 237 Guard strictly your (habit of) prayers, especially the Middle Prayer; and stand before Allah in a devout (frame of mind). 238 But if you are in danger, then (say your prayers) on foot or on horseback; and when you are secure, then remember Allah, as He has taught you what you did not know. 239 Those of you, who shall die and leave wives behind them, should make a will to the effect that they should be provided with a year's maintenance and should not be turned out of their homes. But if they leave their homes of their own accord, you shall not be answerable for whatever they choose for themselves in a fair way; Allah is All-Powerful, All-Wise. 240 Making a fair provision for women who are divorced is the duty of those who are God-fearing and pious. 241 Thus does God explain His revelations to you so that perhaps you will have understanding. 242