the case of a man who had intercourse with the slave woman of his wife was referred to the Messenger of Allah (ﷺ), and he did not stipulate any legal punishment for him.
Sunan Ibn Majah Book 20, Hadith 20