As for those of your women who are guilty of immoral conduct, call upon four from amongst you to bear witness against them. And if four men do bear witness, confine those women to their houses until either death takes them away or Allah opens some way for them. 15 If two men commit a like abomination, punish them both. If they repent and mend their ways, leave them alone. God is forgiving and 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 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 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 ye wish to exchange one wife for another and ye have given unto one of them a sum of money (however great), take nothing from it. Would ye take it by the way of calumny and open wrong? 20 How shall you take it, when each of you has been privily with the other, and they have taken from you a solemn compact? 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