There is no fault in you, if you divorce women while as yet you have not touched them nor appointed any marriage-portion for them; yet make provision for them, the affluent man according to his means, and according to his means the needy man, honourably -- an obligation on the good-doers. 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 Pay due attention to your prayers, especially the middle prayer and stand up while praying, in obedience to God. 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 And those among you who die leaving wives behind them – they should bequeath for their wives a complete provision for one full year without turning them out; so if they go out themselves, there is no sin on you regarding what they do of themselves in a reasonable manner; and Allah is Almighty, Wise. 240 And for divorced women also, is a complete provision in reasonable manner; this is a duty upon the pious. 241 So God makes clear His signs for you; haply you will understand. 242