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 And if you divorce them before you have touched them and you have already specified for them an obligation, then [give] half of what you specified - unless they forego the right or the one in whose hand is the marriage contract foregoes it. And to forego it is nearer to righteousness. And do not forget graciousness between you. Indeed Allah, of whatever you do, is Seeing. 237 Guard the prayers, and the middle prayer, and stand up to Allah truly devout. 238 Even if you are in danger, you must offer your Prayers anyhow on foot or on horseback. And when you have peace again, remember Allah in the manner He has taught you, which you did not know 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 For divorced women Maintenance (should be provided) on a reasonable (scale). This is a duty on the righteous. 241 In this way God makes clear unto you His messages, so that you might [learn to] use your reason. 242