Abu Hurairah reported,

The Prophet ﷺ said, "When a slave-woman commits adultery and her adultery is established, let him flog her and not rebuke her. Then if she commits adultery again, let him flog her and not rebuke her. Then if she commits adultery a third time, let him sell her, even for a rope of hair."Ismail bin Umaya followed him in narrating this from Saeed, from Abu Hurairah, from the Prophet ﷺ.

Bukhari 6839

Sahih

حدثنا عبد الله بن يوسف حدثنا الليث عن سعيد المقبري عن أبيه

عن أبي هريرة أنه سمعه يقول

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

البخاري 6839صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Legal punishments
Chapter
Slave woman is not to be rebuked if she commits fornication, nor is she to be exiled
Numbering
Darussalam 6839
Bukhari 6839