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 And as for those twain of you who commit it, hurt them both; then, if they repent and amend, turn away from them; verily Allah is Relenting, Merciful. 16 Verily, God's acceptance of repentance relates only to those who do evil out of ignorance and then repent before their time runs out: and it is they unto whom God will turn again in His mercy - for God is all-knowing, wise; 17 Forgiveness is not for those who continue to do evil deeds until, when death comes upon one of them, he says: "Now I repent!" nor from those who die as deniers of the truth. We have prepared a painful punishment for them. 18 O believers, it is not lawful for you to inherit women against their will; neither debar them, that you may go off with part of what you have given them, except when they commit a flagrant indecency Consort with them honourably; or if you are averse to them, it is possible you may be averse to a thing, and God set in it much good. 19 And if you wish to change one wife for another and you have given her heaps of treasure, do not take back anything from it; will you take it back by slander and open sin? 20 And how can you take it when one of you has already gone in to the other and they have made with you a firm covenant? 21 And marry not women whom your fathers married, except what has already passed; indeed it was shameful and most hateful, and an evil way. 22