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 If you divorce your wives before the consummation of the marriage and the amount of dowry has been fixed, pay your wives half of the amount of their dowry unless she or her guardians drop their demand for payment. To drop such a demand is closer to piety. Be generous to each other. God is Well-Aware 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 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 Those of you who die and leave widows should bequeath for their widows a year's maintenance and residence; but if they leave (The residence), there is no blame on you for what they do with themselves, provided it is reasonable. And Allah is Exalted in Power, Wise. 240 For divorced women a provision according to what is fair shall also be made. This is an obligation binding on the righteous. 241 Thus does God explain His revelations to you so that perhaps you will have understanding. 242