It is no sin if you divorce your wives while you have not yet touched them or fixed any dower for them. In such a case, pay them something anyhow. A rich man should pay fairly according to his means and a poor man according to his resources, for this is an obligation on the righteous people. 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, pray while on foot or while riding, as you can; when you are in peace remember Allah the way He has taught you, which 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 For divorced women Maintenance (should be provided) on a reasonable (scale). This is a duty on the righteous. 241 Thus does God explain His revelations to you so that perhaps you will have understanding. 242