Those of your women who commit fornication, let four (Muslim) witness testify to their act. If there is sufficient testimony, confine them to their homes until they die, or until God provides a way for their freedom. 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 But God shall not turn towards those who do evil deeds until, when one of them is visited by death, he says, 'Indeed now I repent,' neither to those who die disbelieving; for them We have prepared a painful chastisement. 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 If you wish to take a wife in the place of another wife, and you have given to one a Qintar (about 100000 lb) so do not take from it anything. What, will you take it by way of calumny and a clear 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 women that your fathers married, unless it be a thing of the past; surely that is indecent and hateful; an evil way. 22