The Messenger of Allah ﷺ said, "When the servant girl of one of you commits fornication..." and he then mentioned the meaning of the hadith, meaning according to Yahya bin Saeed al-Qattan, from Ubaydullah.
حدثنا يحيى بن سعيد الأموي، قال: حدثنا عبيد الله، عن سعيد بن أبي سعيد، عن أبيه،
قال رسول الله ﷺ: إذا زنت خادم أحدكم، فذكر معنى الحديث يعني ليحيى بن سعيد القطان، عن عبيد الله.