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 (And remember that) Allah's acceptance of repentance is only for those who commit evil out of ignorance and then soon repent. It is towards such persons that Allah turns graciously. Allah is All-Knowing, All-Wise. 17 And of no effect is the repentance of those who continue to do evil deeds until death faces one of them and he says: "Now I repent;" nor of those who die while they are disbelievers. For them We have prepared a painful torment. 18 Believers! It is not lawful for you to become heirs to women against their will. It is not lawful that you should put constraint upon them that you may take away anything of what you have given them; (you may not put constraint upon them) unless they are guilty of brazenly immoral conduct. Live with your wives in a good manner. If you dislike them in any manner, it may be that you dislike something in which Allah has placed much good for you. 19 If you desire to replace one wife with another, do not take any part of her dower back: even if you have given her a treasure. Would you take it by slandering her and with manifest sinfulness? 20 And how could you take it (back) while you have gone in unto each other, and they have taken from you a firm and strong covenant? 21 And do not marry women your fathers married unless it is a thing of the past; surely that was an indecency, hated, and a way of evil. 22