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 you have touched (had a sexual relation with) them, and you have appointed unto them the Mahr (bridal money given by the husbands to his wife at the time of marriage), then pay half of that (Mahr), unless they (the women) agree to forego it, or he (the husband), in whose hands is the marriage tie, agrees to forego and give her full appointed Mahr. And to forego and give (her the full Mahr) is nearer to At-Taqwa (piety, right-eousness, etc.). And do not forget liberality between yourselves. Truly, Allah is All-Seer of what you do. 237 Maintain with care the [obligatory] prayers and [in particular] the middle prayer and stand before Allah, devoutly obedient. 238 And if you are in fear, then afoot or mounted; but when you are secure, then remember God, as He taught you the things that you knew not. 239 (In the case of) those of you who are about to die and leave behind them wives, they should bequeath unto their wives a provision for the year without turning them out, but if they go out (of their own accord) there is no sin for you in that which they do of themselves within their rights. Allah is Mighty, Wise. 240 And for divorced women, maintenance (should be provided) on reasonable (scale). This is a duty on Al-Muttaqun (the pious - see V. 2:2). 241 Thus Allah makes clear His Ayat (Laws) to you, in order that you may understand. 242