If any of your women is guilty of unnatural offence, bring four of your witnesses to give evidence; if they testify against them, retain them in the houses until death overtakes them or God provides some other way for them. 15 And punish [thus] both of the guilty parties; but if they both repent and mend their ways, leave them alone: for, behold, God is an acceptor of repentance, a dispenser of grace. 16 God will only accept the repentance of those who commit evil in ignorance, if they repent immediately. God is All-knowing and All-wise. 17 (Allah will accept) no repentance from those who do evil deeds until death comes to one of them, he says: 'Now I repent' Nor those who die unbelieving. For those We have prepared a painful punishment. 18 Believers, it is not lawful for you to inherit women against their will, nor should you detain them wrongfully, so that you may take away a part of what you have given them, unless they are guilty of something clearly outrageous. Live with them in accordance with what is fair and kind; if you dislike them, it may be that you dislike something which God might make a source of abundant good. 19 If you want to divorce a woman so that you can marry another, do not take back the dowry which you had paid even if what you paid was a large amount of gold. To do this is a slanderous act and a 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 marry not women whom your fathers married, except what has already passed; indeed it was shameful and most hateful, and an evil way. 22