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 the two who are guilty of indecency from among you, give them both a punishment; then if they repent and amend, turn aside from them; surely Allah is Oft-returning (to mercy), the Merciful. 16 (Allah accepts) the repentance from only those who commit evil in ignorance and then quickly turn to Him in repentance. Allah will relent towards them. Allah is Knowing, Wise. 17 But of no avail is repentance of those who do evil until death approaches any one of them and then he says: 'Now I repent.' Nor is the repentance of those who die in the state of unbelief of any avail to them. For them We have kept in readiness a painful chastisement. 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 But if ye decide to take one wife in place of another, even if ye had given the latter a whole treasure for dower, Take not the least bit of it back: Would ye take it by slander and manifest wrong? 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 do not wed the women your fathers had wed. What happened in the past is now past: It was lewd and abhorrent, and only the way of evil. 22