لَّا جُنَاحَ عَلَيْكُمْ إِن طَلَّقْتُمُ ٱلنِّسَآءَ مَا لَمْ تَمَسُّوهُنَّ أَوْ تَفْرِضُوا۟ لَهُنَّ فَرِيضَةًۭ ۚ وَمَتِّعُوهُنَّ عَلَى ٱلْمُوسِعِ قَدَرُهُۥ وَعَلَى ٱلْمُقْتِرِ قَدَرُهُۥ مَتَٰعًۢا بِٱلْمَعْرُوفِ ۖ حَقًّا عَلَى ٱلْمُحْسِنِينَ
Sure Al-Baqara
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.