There is no sin upon you if you divorce women while you have not touched them or appointed their bridal money; and give them some provision; the rich according to their means, and the poor according to their means; a fair provision according to custom; this is a duty upon the virtuous. 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 And preserve the prayers and the middle prayer, and stand obedient to Allah. 238 In an emergency you may say your prayers while walking or riding; but when you are safe, remember God, as He has taught you what you did not know before. 239 Those who die and leave wives behind should bequeath to them a year's maintenance without causing them to leave their homes; but if they leave, no blame shall be attached to you in what they do with themselves kindly. Allah is Mighty and Wise. 240 And for the divorced women (too) provision (must be made) according to usage; (this is) a duty on those who guard (against evil). 241 In this wise Allah expoundeth unto you His commandments, haply ye may reflect. 242