Abu Hurairah and Zayd bin Khalid reported,

The Messenger of Allah ﷺ was asked about a slave-woman who commits adultery while not in a state of marriage. He said, "If she commits adultery, flog her. If she commits adultery again, flog her. If she commits adultery again, sell her, even for a hair rope."Ibn Shihab said, "I do not know whether this was after the third or fourth offense."

Bukhari 2153-2154

Sahih

حدثنا إسماعيل قال حدثني مالك عن ابن شهاب عن عبيد الله بن عبد الله

عن أبي هريرة وزيد بن خالد رضي الله عنهما

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

البخاري 2153-2154صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Sales
Chapter
Sale of a slave who commits zina
Numbering
Darussalam 2153-2154
Bukhari2153 2153-2154