As for those of your women who may commit whoredom, call against them four witnesses from among them. If they testify, confine you them to their houses till death complete their turn of life, or Allah appoint for them some other way. 15 If two (men) among you are guilty of such acts then punish both of them. But if they repent and reform, let them be, for God accepts repentance and is merciful. 16 With Allah is the repentance of those alone who do an evil foolishly and thereafter repent speedily, surely it is they unto whom Allah shall relent. And Allah is Knowing, Wise. 17 (Allah will accept) no repentance from those who do evil deeds until death comes to one of them, he says: 'Now I repent' Nor those who die unbelieving. For those We have prepared a painful punishment. 18 O you who believe! You are forbidden to inherit women against their will, and you should not treat them with harshness, that you may take away part of the Mahr you have given them, unless they commit open illegal sexual intercourse. And live with them honourably. If you dislike them, it may be that you dislike a thing and Allah brings through it a great deal of good. 19 But if you want to replace one wife with another and you have given one of them a great amount [in gifts], do not take [back] from it anything. Would you take it in injustice and manifest sin? 20 How can you take it back when you have had intimate relations and made a solemn agreement with each other? 21 And do not marry the women who were wedded to your fathers (and grand fathers), except what has already passed; that is indeed an act of shame and great wrong; and an evil way. 22