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 ye divorce them before ye have touched them and ye have appointed unto them a portion, then (pay the) half of that which ye appointed, unless they (the women) agree to forgo it, or he agreeth to forgo it in whose hand is the marriage tie. To forgo is nearer to piety. And forget not kindness among yourselves. Allah is Seer of what ye do. 237 Pay due attention to your prayers, especially the middle prayer and stand up while praying, in obedience to God. 238 And if you fear, then (pray) on foot or riding. But when you are safe, then remember Allah, as He has taught you what you did not know. 239 And those of you who die and leave wives behind, they shall make a bequest unto their wives a year's maintenance without their having to go out, then if they go out, then no blame is on you for that which they do with themselves reputably, and Allah is Mighty, Wise. 240 And for the divorced women shall be a reputable present: and duty on the God-fearing. 241 Like this Allah clarifies to you His verses in order that you understand. 242