Surah Al-Baqara

2:236

لَّا جُنَاحَ عَلَيْكُمْ إِن طَلَّقْتُمُ ٱلنِّسَآءَ مَا لَمْ تَمَسُّوهُنَّ أَوْ تَفْرِضُوا۟ لَهُنَّ فَرِيضَةًۭ ۚ وَمَتِّعُوهُنَّ عَلَى ٱلْمُوسِعِ قَدَرُهُۥ وَعَلَى ٱلْمُقْتِرِ قَدَرُهُۥ مَتَٰعًۢا بِٱلْمَعْرُوفِ ۖ حَقًّا عَلَى ٱلْمُحْسِنِينَ

There is no blame upon you if you divorce women you have not touched nor specified for them an obligation. But give them [a gift of] compensation - the wealthy according to his capability and the poor according to his capability - a provision according to what is acceptable, a duty upon the doers of good.

Tafsir 2:236

There is no sin on you if you divorce your wives with whom you have entered into marriage before you have sexual intercourse with them and before you fix a dowry for them. If you must divorce them in such a situation, they will not be entitled to any dowry from you; but they must be given something that they will enjoy, to make it easy on their feelings. This must be done by both a rich and a poor man according to their means. This gift is binding on those who wish to do good in their actions and dealings.