If any of your women commit fornication, call in four male witnesses from among yourselves against them; if they testify to their guilt, confine them to the house until death releases them or until God gives them another way out. 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 (And remember that) Allah's acceptance of repentance is only for those who commit evil out of ignorance and then soon repent. It is towards such persons that Allah turns graciously. Allah is All-Knowing, All-Wise. 17 And repentance is not for those who go on working evil until when death presenteth itself unto one of them, and he saith: verily now I repent; nor for those who die while they are infidel. These! for them We have gotten ready a torment afflictive. 18 Believers! It is not lawful for you to become heirs to women against their will. It is not lawful that you should put constraint upon them that you may take away anything of what you have given them; (you may not put constraint upon them) unless they are guilty of brazenly immoral conduct. Live with your wives in a good manner. If you dislike them in any manner, it may be that you dislike something in which Allah has placed much good for you. 19 But if you intend to replace a wife by another and you have given one of them a Cantar (of gold i.e. a great amount) as Mahr, take not the least bit of it back; would you take it wrongfully without a right and (with) a manifest sin? 20 How shall you take it, when each of you has been privily with the other, and they have taken from you a solemn compact? 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