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 And as for the two of you who are guilty thereof, punish them both. And if they repent and improve, then let them be. Lo! Allah is ever relenting, Merciful. 16 Allah accepts only the repentance of those who do evil in ignorance and foolishness and repent soon afterwards; it is they to whom Allah will forgive and Allah is Ever All-Knower, All-Wise. 17 But (He does not accept) the repentance of those who continue indulging in evil until death draws near and they say: "We now repent;" nor of those who die disbelieving. For them We have a grievous retribution in wait. 18 O believers, you are not allowed to take perforce the women (of dead relatives) into your heritage, or tyrannise over them in order to deprive them of what you have given them, unless they are guilty of open adultery. Live with them with tolerance and justice even if you do not care for them. For it may well be you may not like a thing, yet God may have endued it with much goodness. 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 And how could you take it while you have gone in unto each other and they have taken from you a solemn covenant? 21 AND DO NOT marry women whom your fathers have previously married - although what is past is past: this, verily, is a shameful deed, and a hateful thing, and an evil way. 22