It is narrated from Sayyiduna Salamah that a man asked the Prophet (peace and blessings be upon him) what is the ruling if a man has relations with his wife's slave woman. The Prophet (peace and blessings be upon him) said: If he forced the slave woman into this act, then she will become free and the man will be liable to give his wife a slave woman like her. And if this act was done with her consent, then she will become his slave woman, but the man will still have to give his wife a slave woman like her.
Hadith Referenceمسند احمد / مسند المكيين / 15911
Hadith Gradingحکم دارالسلام:إسناده ضعيف لانقطاعه، الحسن البصري لم يسمع من سلمة بن المحبق، ومبارك بن فضالة يدلس تدليس التسوية