As for those of your women who are guilty of lewdness, call to witness four of you against them. And if they testify (to the truth of the allegation) then confine them to the houses until death take them or (until) Allah appoint for them a way (through new legislation). 15 And punish them both, the man and the woman, whoever are guilty of it (adultery); then if they repent and become pious, leave them; indeed Allah is the Most Acceptor Of Repentance, Most Merciful. 16 Allah accept the repentance of those who do evil in ignorance and repent soon afterwards; to them will Allah turn in mercy: For Allah is full of knowledge and wisdom. 17 There is no forgiveness for those who commit sin and do not repent until the last moment of their lives nor for those who die as unbelievers. For these people We have prepared a painful torment. 18 O believers, it is not lawful for you to inherit women against their will; neither debar them, that you may go off with part of what you have given them, except when they commit a flagrant indecency Consort with them honourably; or if you are averse to them, it is possible you may be averse to a thing, and God set in it much good. 19 And if you wish to have (one) wife in place of another and you have given one of them a heap of gold, then take not from it anything; would you take it by slandering (her) and (doing her) manifest wrong? 20 How can you take it away after each one has enjoyed the other, and they have taken a firm covenant from you? 21 And do not marry women that your fathers married, unless it be a thing of the past; surely that is indecent and hateful; an evil way. 22