وَالَّذِينَ يُظَاهِرُونَ مِن نِّسَائِهِمْ ثُمَّ يَعُودُونَ لِمَا قَالُوا فَتَحْرِيرُ رَقَبَةٍ مِّن قَبْلِ أَن يَتَمَاسَّا ذَلِكُمْ تُوعَظُونَ بِهِ وَاللَّهُ بِمَا تَعْمَلُونَ خَبِيرٌ
﴿٣﴾
سورة الـمجادلـة
(58/3) They turn their backs to their wives then retract from what they said. In such case he should free a slave before they touch each other. This is what you are advised and Allah is All-Aware of what you do.
Surah Al-Mujadila