If you divorce them before touching them, but after you had set the dowry for them, the compensation shall be half the dowry, unless they voluntarily forfeit their rights, or the party responsible for causing the divorce chooses to forfeit the dowry. To forfeit is closer to righteousness. You shall maintain the amicable relations among you. God is Seer of everything you do.
وَإِن طَلَّقتُموهُنَّ مِن قَبلِ أَن تَمَسّوهُنَّ وَقَد فَرَضتُم لَهُنَّ فَريضَةً فَنِصفُ ما فَرَضتُم إِلّا أَن يَعفونَ أَو يَعفُوَا۟ الَّذى بِيَدِهِ عُقدَةُ النِّكاحِ وَأَن تَعفوا أَقرَبُ لِلتَّقوىٰ وَلا تَنسَوُا الفَضلَ بَينَكُم إِنَّ اللَّهَ بِما تَعمَلونَ بَصيرٌ
wa in tallaqtumoohunna min qabli an tamassoohunna wa qad farad tum lahunna fareedatan fanisfu maa faradtum illaaa ai ya’foona aw ya’fuwallazee biyadihee ‘uqdatunnikaah; wa an ta’fooo aqrabu littaqwaa; wa laa tansawulfadla bainakum; innal laaha bimaa ta’maloona Baseer