"The Prophet passed judgment concerning a man who had intercourse with his wife's slave woman: 'If he forced her, then she is free, and he has to give her mistress a similar slave as a replacement; if she obeyed him in that, then she belongs to him, and he has to give her mistress a similar slave as a replacement.'" (Using translation from Nasāʾī 3363)
أَنَّ رَجُلًا وَقَعَ عَلَى جَارِيَةِ امْرَأَتِهِ فَرُفِعَ ذَاكَ إِلَى النَّبِيِّ ﷺ فَقَالَ إِنْ كَانَتْ طَاوَعَتْهُ فَهِيَ لَهُ وَعَلَيْهِ مِثْلُهَا لَهَا وَإِنْ كَانَ اسْتَكْرَهَهَا فَهِيَ حُرَّةٌ وَعَلَيْهِ مِثْلُهَا لَهَا