No blame is on you if ye divorce women while yet ye have not touched them nor settled unto them a settlement. Benefit them; on the affluent is due according to his means and on the straitened is due according to his means, a reputable present and duty on the well-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 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 And those of you who die and leave wives behind, (make) a bequest in favor of their wives of maintenance for a year without turning (them) out, then if they themselves go away, there is no blame on you for what they do of lawful deeds by themselves, and Allah is Mighty, Wise. 240 Making a fair provision for women who are divorced is the duty of those who are God-fearing and pious. 241 In this way God makes clear unto you His messages, so that you might [learn to] use your reason. 242