Those of your women who commit fornication, let four (Muslim) witness testify to their act. If there is sufficient testimony, confine them to their homes until they die, or until God provides a way for their freedom. 15 And as for the two of you who are guilty thereof, punish them both. And if they repent and improve, then let them be. Lo! Allah is ever relenting, Merciful. 16 Repentance with Allah is only for those who do evil in ignorance, then turn (to Allah) soon, so these it is to whom Allah turns (mercifully), and Allah is ever Knowing, 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 O you who have believed, it is not lawful for you to inherit women by compulsion. And do not make difficulties for them in order to take [back] part of what you gave them unless they commit a clear immorality. And live with them in kindness. For if you dislike them - perhaps you dislike a thing and Allah makes therein 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 ye take it (back) after one of you hath gone in unto the other, and they have taken a strong pledge from you? 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