It shall be no offense for you to divorce your wives as long as you have not touched them or obligated a right for them. Provide for them with fairness; the rich according to his means, and the restricted according to his. A right on the gooddoers. 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 Attend constantly to prayers and to the middle prayer and stand up truly obedient to Allah. 238 But if you are in danger, [pray] walking or riding; and when you are again secure, bear God in mind - since it is He who taught you what you did not previously know. 239 Those of you, who shall die and leave wives behind them, should make a will to the effect that they should be provided with a year's maintenance and should not be turned out of their homes. But if they leave their homes of their own accord, you shall not be answerable for whatever they choose for themselves in a fair way; Allah is All-Powerful, All-Wise. 240 And for divorced women also, is a complete provision in reasonable manner; this is a duty upon the pious. 241 In this wise Allah expoundeth unto you His commandments, haply ye may reflect. 242