It shall be no offense for you to divorce your wives as long as you have not touched them or obligated a right for them. Provide for them with fairness; the rich according to his means, and the restricted according to his. A right on the gooddoers. 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 all your prayers, and the middle prayer; and stand with reverence before 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 among you about to die leaving wives behind, should bequeath a year's maintenance and lodging for them, without expelling them from home. But if they leave (of their own accord), you will not be blamed for what they do with themselves in their own rights. God is all-mighty and all-wise. 240 And the divorced women, too, shall have [a right to] maintenance in a goodly manner: this is a duty for all who are conscious of God. 241 So God makes clear His signs for you; haply you will understand. 242