There is no sin in divorcing your wives before the consummation of marriage or settling the dowry; but then provide adequately for them, the affluent according to their means, the poor in accordance with theirs as is befitting. This is surely the duty of those who do good. 236 In case you fixed a dower for them and then divorced them before you touched them, you should pay half of the fixed dower. But there is no harm if the woman agrees to forego it or the man, in whose hands is the marriage tie, is generous enough (to pay the dower in full). And if you (men) act generously, it is akin to piety. Do not forget to show generosity in your dealings with one another for Allah sees what you do. 237 Attend constantly to prayers and to the middle prayer and stand up truly obedient to Allah. 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 If any of you die and leave widows, make a bequest for them of a year's maintenance without causing them to leave their homes; but if they leave of their own accord, you will not be blamed for what they may reasonably choose to do with themselves. God is almighty and wise. 240 And for the divorced women shall be a reputable present: and duty on the God-fearing. 241 In this wise Allah expoundeth unto you His commandments, haply ye may reflect. 242