“A man who had intercourse with the slave woman of his wife was brought to Nuʿman bin Bashir. He said: 'I will pass no other judgement than that of the Messenger of Allah ﷺ He said: 'If (his wife) had made her lawful for him, then I will give him one hundred lashes, but if she has not given permission, I will stone him.' ” (Using translation from Ibn Mājah 2551)
«لَأَقْضِيَنَّ فِيهَا بِقَضَاءِ رَسُولِ اللهِ ﷺ إِنْ كَانَتْ أَحَلَّتْهَا لَهُ جَلَدْتُهُ مِائَةً وَإِنْ لَمْ تَكُنْ أَحَلَّتْهَا لَهُ رَجَمْتُهُ»