﴿إِنَّمَا التَّوْبَةُ عَلَى اللهِ لِلَّذِينَ يَعْمَلُونَ السُّوءَ بِجَهَالَةٍ ثُمَّ يَتُوبُونَ مِنْ قَرِيبٍ فَأُولَئِكَ يَتُوبُ اللهُ عَلَيْهِمْ وَكَانَ اللهُ عَلِيمًا حَكِيمًا﴾ [النساء:17]
17 - Allah accepts repentance from those who commit sins ignorantly. Allah named those who commit sins "ignorant" because he or she commits it while he knows its bad consequences. If those wrong doers repent before the agonies of death approach, Allah will accept their repentance because Allah knows His Creatures and Wise in all that He does.
﴿وَلَيْسَتِ التَّوْبَةُ لِلَّذِينَ يَعْمَلُونَ السَّيِّئَاتِ حَتَّى إِذَا حَضَرَ أَحَدَهُمُ المَوْتُ قَالَ إِنِّي تُبْتُ الآَنَ وَلَا الَّذِينَ يَمُوتُونَ وَهُمْ كُفَّارٌ أُولَئِكَ أَعْتَدْنَا لَهُمْ عَذَابًا أَلِيمًا﴾ [النساء:18]
18 - Repentance shall not be accepted from those who commit sins and when death approaches their throats, they say: Now I shall repent. The same ruling goes for the infidels who die while believing in their disbelief: their regret and repentance will not avail them. For those we prepared a painful, severe, and everlasting torment.
﴿يَا أَيُّهَا الَّذِينَ آَمَنُوا لَا يَحِلُّ لَكُمْ أَنْ تَرِثُوا النِّسَاءَ كَرْهًا وَلَا تَعْضُلُوهُنَّ لِتَذْهَبُوا بِبَعْضِ مَا آَتَيْتُمُوهُنَّ إِلَّا أَنْ يَأْتِينَ بِفَاحِشَةٍ مُبَيِّنَةٍ وَعَاشِرُوهُنَّ بِالمَعْرُوفِ فَإِنْ كَرِهْتُمُوهُنَّ فَعَسَى أَنْ تَكْرَهُوا شَيْئًا وَيَجْعَلَ اللهُ فِيهِ خَيْرًا كَثِيرًا﴾ [النساء:19]
19 - O believers, it is not lawful for you to inherit women as you inherit funds. It is not lawful for you to treat them badly, confine them, and prevent them from marriage until they pay you the dower or part of the dower which they gave you, except if they commit an adultery. Then, it is permissible for you to confine them to ransom themselves with money. Fahishah is adultery, cruelty, bad manners, harm, bad words ... etc.
Say to them nice words, comfort them, treat kindly with them, and spend on them. If you fed up with them without harming you, be patient, perhaps there would be good inside the things you hate such as pious children and good reward in the Hereafter as a retribution for your patience.
It is reported in the authentic Hadith: "A believing man should not hate a believing woman because if he finds in her a manner that he does not like, he will find in her another good manner that pleases him."
﴿وَإِنْ أَرَدْتُمُ اسْتِبْدَالَ زَوْجٍ مَكَانَ زَوْجٍ وَآَتَيْتُمْ إِحْدَاهُنَّ قِنْطَارًا فَلَا تَأْخُذُوا مِنْهُ شَيْئًا أَتَأْخُذُونَهُ بُهْتَانًا وَإِثْمًا مُبِينًا﴾ [النساء:20]
20 - If you want to divorce your wives and marry another woman, and you paid them an expensive dowry, do not take something from it; would you take it unjustly and falsely!
﴿وَكَيْفَ تَأْخُذُونَهُ وَقَدْ أَفْضَى بَعْضُكُمْ إِلَى بَعْضٍ وَأَخَذْنَ مِنْكُمْ مِيثَاقًا غَلِيظًا﴾ [النساء:21]
21 - How do you take the dowry from them and you had privacy and sexual intercourse with them. That is the covenant you gave them; the covenant of good companionship and intimacy. Allah (Exalted be He) says in their regard: "Either you retain her on reasonable terms or release her with kindness." {Surat Al Baqarah: 229] or the meaning of the covenant is the covenant of marriage.
﴿وَلَا تَنْكِحُوا مَا نَكَحَ آَبَاؤُكُمْ مِنَ النِّسَاءِ إِلَّا مَا قَدْ سَلَفَ إِنَّهُ كَانَ فَاحِشَةً وَمَقْتًا وَسَاءَ سَبِيلًا﴾ [النساء:22]
22 - It is not permissible for you to marry the ex-wives of your fathers as was