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 ye divorce them ere ye have touched them but have settled unto them a settlement, then due from you is half of that which ye have settled unless the wives forego, or he in whose hand is the wedding-knot foregoeth, and that ye should forego is nigher unto piety. And forget not grace amongst yourself; verily of that which ye work Allah is the Beholder. 237 Guard strictly your (habit of) prayers, especially the Middle Prayer; and stand before Allah in a devout (frame of mind). 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 among you about to die leaving wives behind, should bequeath a year's maintenance and lodging for them, without expelling them from home. But if they leave (of their own accord), you will not be blamed for what they do with themselves in their own rights. God is all-mighty and all-wise. 240 For divorced women Maintenance (should be provided) on a reasonable (scale). This is a duty on the righteous. 241 In this wise Allah expoundeth unto you His commandments, haply ye may reflect. 242