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 appointed for them a portion, then (pay to them) half of what you have appointed, unless they relinquish or he should relinquish in whose hand is the marriage tie; and it is nearer to righteousness that you should relinquish; and do not neglect the giving of free gifts between you; surely Allah sees what you do. 237 Pay due attention to your prayers, especially the middle prayer and stand up while praying, in obedience to God. 238 And if you fear, then (pray) on foot or riding. But when you are safe, then remember Allah, as He has taught you what you did not know. 239 Those who are about to die and leave widows behind should bequeath for their wives the expenses of one year's maintenance. The widows must not be expelled from the house for up to one year. It is no sin for the relatives of the deceased to permit the widows to leave the house before the appointed time and do what is reasonable. God is Majestic and Wise. 240 For divorced women a provision according to what is fair shall also be made. This is an obligation binding on the righteous. 241 Allah thus makes clear to you His communications that you may understand. 242