Sura Al-Mujaadila

58:3

وَٱلَّذِينَ يُظَٰهِرُونَ مِن نِّسَآئِهِمْ ثُمَّ يَعُودُونَ لِمَا قَالُوا۟ فَتَحْرِيرُ رَقَبَةٍۢ مِّن قَبْلِ أَن يَتَمَآسَّا ۚ ذَٰلِكُمْ تُوعَظُونَ بِهِۦ ۚ وَٱللَّهُ بِمَا تَعْمَلُونَ خَبِيرٌۭ

De som på detta sätt förskjuter sin hustru men tar tillbaka sitt ord skall [som bot] skänka en slav friheten, innan samlivet [med den förskjutna] får återupptas. Detta är vad Gud föreskriver för er. Gud är underrättad om vad ni gör.

Tafsir 58:3

It is necessary upon those who utter this disgusting statement and then intend to have sexual intercourse with the wife they did Ẓihār to, that they make amends by freeing a slave before they have intercourse. This aforementioned ruling you have been commanded to carry out is a reprimand for you for the Ẓihār. And Allah is aware of your actions; none of your actions are hidden from Him.