The Messenger of Allah ﷺ said, "When the slave girl of one of you commits fornication..." and he mentioned the meaning of the hadith, referring to Yahya bin Saeed al-Qattan's narration from Ubaydullah.Yahya al-Qattan reported to us from Ibn Ajlan, who said, Saeed reported to us from Abu Hurairah, who said, The Messenger of Allah ﷺ said, "Beware of injustice," and he mentioned the rest of the hadith.
حدثنا يحيى بن سعيد الأموي قال حدثنا عبيد الله عن سعيد بن أبي سعيد عن أبيه
قال رسول الله ﷺ إذا زنت خادم أحدكم فذكر معنى الحديث يعني ليحيى بن سعيد القطان عن عبيد الله قال حدثنا يحيى القطان عن ابن عجلان قال حدثنا سعيد عن أبي هريرة قال قال رسول الله ﷺ إياكم والظلم وذكر الحديث
[Shakir: 9536] Its isnad is sahih, it was mentioned previously at 9534. [Shakir: 9537] Its isnad is sahih, 9535.