AND AS FOR those of your women who become guilty of immoral conduct, call upon four from among you who have witnessed their guilt; and if these bear witness thereto, confine the guilty women to their houses until death takes them away or God opens for them a way [through repentance]. 15 If two among you commit it punish them both. If they repent and make amends, leave them alone. Allah is the Relenter, the Merciful. 16 (Allah accepts) the repentance from only those who commit evil in ignorance and then quickly turn to Him in repentance. Allah will relent towards them. Allah is Knowing, Wise. 17 But repentance is not [accepted] of those who [continue to] do evil deeds up until, when death comes to one of them, he says, "Indeed, I have repented now," or of those who die while they are disbelievers. For them 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 desire to give up a wife and to take another in her stead, do not take away anything of what you have given the first one, however much it may have been. Would you, perchance, take it away by slandering her and thus committing a manifest sin? 20 How can you take it back when you have reached one another (sexually) and they have taken from you a 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