The Messenger of Allah ﷺ said, "If the slave-girl of any of you commits fornication, let him flog her as prescribed in the Book of Allah, and do so three times. If she does it again, let him sell her, even for a rope of hair."
حدثنا أبو سعيد الأشج حدثنا أبو خالد الأحمر حدثنا الأعمش عن أبي صالح
قال رسول الله ﷺ إذا زنت أمة أحدكم فليجلدها ثلاثا بكتاب الله فإن عادت فليبعها ولو بحبل من شعر
[Hasan]. Nasai also recorded it in Kubra, no. 7243, from the hadith of Ashaj through the same route. The hadith has corroborating narrations in Bukhari, Muslim, and Abu Dawud, no. 4471, and others.On this topic there are also narrations from Ali [coming: 1441], Abu Hurairah [previously mentioned: 1433], Zayd bin Khalid [previously mentioned: 1433], Shibl [previously mentioned: 1433], and Abdullah bin Malik Awsi [Ahmad: 343/4].