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 the consummation of marriage, but after settling the dowry, then half the settled dowry must be paid, unless the woman forgoes it, or the person who holds the bond of marriage pays the full amount. And if the man pays the whole, it is nearer to piety. But do not forget to be good to each other, and remember that God sees all that you do. 237 And preserve the prayers and the middle prayer, and stand obedient to Allah. 238 If ye fear (an enemy), pray on foot, or riding, (as may be most convenient), but when ye are in security, celebrate Allah's praises in the manner He has taught you, which ye knew not (before). 239 Those who die and leave wives behind should bequeath to them a year's maintenance without causing them to leave their homes; but if they leave, no blame shall be attached to you in what they do with themselves kindly. Allah is Mighty and Wise. 240 Provision should be made for divorced women with kindness. That is a right on the cautious. 241 Allah thus makes clear to you His communications that you may understand. 242