Sunan an-Nasa'i #3364 · The Book of Marriage

Sunan an-Nasa'iIt was narrated from Salamah bin Al-Muhabbaq that a man had intercourse with a slave woman belonging to his wife
Sunan an-Nasa'i · Book 26 · The Book of Marriage
Sunan an-Nasa'i · كتاب 26 · كتاب النكاح
"If he forced her, then she is free at his expense and he has to give her mistress a similar slave as a replacement. If she obeyed him in that, then she belongs to her mistress, and he has to give her mistress a similar slave as well
أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللَّهِ بْنِ بَزِيعٍ، قَالَ حَدَّثَنَا يَزِيدُ، قَالَ حَدَّثَنَا سَعِيدٌ، عَنْ قَتَادَةَ، عَنِ الْحَسَنِ، عَنْ سَلَمَةَ بْنِ الْمُحَبَّقِ، أَنَّ رَجُلاً، غَشِيَ جَارِيَةً لاِمْرَأَتِهِ فَرُفِعَ ذَلِكَ إِلَى رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏
"‏ إِنْ كَانَ اسْتَكْرَهَهَا فَهِيَ حُرَّةٌ مِنْ مَالِهِ وَعَلَيْهِ الشَّرْوَى لِسَيِّدَتِهَا وَإِنْ كَانَتْ طَاوَعَتْهُ فَهِيَ لِسَيِّدَتِهَا وَمِثْلُهَا مِنْ مَالِهِ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 3364In-book reference : Book 26, Hadith 169