And take testimony from four chosen men amongst you, against the women among you who commit adultery; and if they testify, confine those women in the houses until death takes them away or Allah creates a solution 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 God shall turn only towards those who do evil in ignorance, then shortly repent; God will return towards those; God is All-knowing, All-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 Believers, it is unlawful for you to inherit women forcefully, neither bar them, in order that you go off with part of what you have given them, except when they commit a clear indecency. Live with them honorably. If you hate them, it may be that you hate something which Allah has set in it much good. 19 And if ye intend to replace a wife by another, and ye have given the one of them a talent, take not back aught therefrom. Would ye take it back by slander and manifest sin. 20 How can you take it back when you have had intimate relations and made a solemn agreement with each other? 21 And do not marry the women who were wedded to your fathers (and grand fathers), except what has already passed; that is indeed an act of shame and great wrong; and an evil way. 22