It is no sin for you if ye divorce women while yet ye have not touched them, nor appointed unto them a portion. Provide for them, the rich according to his means, and the straitened according to his means, a fair provision. (This is) a bounden duty for those who do good. 236 And if you divorce them before having touched them, but after having settled a dower upon them, then [give them] half of what you have settled - unless it be that they forgo their claim or he in whose hand is the marriage-tie forgoes his claim [to half of the dower]: and to forgo what is due to you is more in accord with God-consciousness. And forget not [that you are to act with] grace towards one another: verily, God sees all that you do. 237 And preserve the prayers and the middle prayer, and stand obedient to Allah. 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 Those of you, who shall die and leave wives behind them, should make a will to the effect that they should be provided with a year's maintenance and should not be turned out of their homes. But if they leave their homes of their own accord, you shall not be answerable for whatever they choose for themselves in a fair way; Allah is All-Powerful, All-Wise. 240 And for divorced women is a provision according to what is acceptable - a duty upon the righteous. 241 Thus Allah makes clear His commandments for you: it is expected that you will use your common sense. 242