If any of your women commit indecency, call in four witnesses from among yourselves against them, if they testify, confine them to their houses till death overtakes them or till Allah makes for them a way. 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 Forgiveness is only incumbent on Allah toward those who do evil in ignorance (and) then turn quickly (in repentance) to Allah. These are they toward whom Allah relenteth. Allah is ever Knower, 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 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 decide to dispense with a wife in order to take another, do not take away anything of what you might have given the first one, even if you had given her a heap of gold. Would you take it back by slandering her and committing a manifest wrong? 20 How could you do that having slept with one another, and when they had taken a solemn pledge from you? 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