Abu Hurairah, Zayd bin Khalid, and Shibl reported,

We were with the Prophet ﷺ when a man asked him about a slave woman who commits fornication before being married.He said, "Flog her. Then if she fornicates again, flog her."Then on the third or fourth offense, he said, "Sell her, even for a rope of hair."

Ibn Majah 2565

Sahih

حدثنا أبو بكر بن أبي شيبة ومحمد بن الصباح قالا حدثنا سفيان بن عيينة عن الزهري عن عبيد الله بن عبد الله

عن أبي هريرة وزيد بن خالد وشبل قالوا

كنا عند النبي ﷺ فسأله رجل عن الأمة تزني قبل أن تحصن فقال اجلدها فإن زنت فاجلدها ثم قال في الثالثة أو في الرابعة فبعها ولو بحبل من شعر

ابن ماجه 2565صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Legal punishments
Chapter
Enforcing legal punishments on slave women
Numbering
Darussalam 2565
Ibn Majah 2565