He informed him that the Messenger of Allah ﷺ said, "If a slave-girl commits fornication, flog her. Then if she commits fornication again, flog her. Then if she commits fornication again, flog her. Then if she commits fornication again, sell her, even for a rope of hair."The "dafir" is a rope. This was either on the third or the fourth occasion.
حدثنا يعقوب حدثنا ابن أخي ابن شهاب عن عمه قال أخبرني عبيد الله بن عبد الله بن عتبة بن مسعود أن شبل بن حامد المزني أخبره أن
أخبره أن رسول الله ﷺ قال للوليدة إن زنت فاجلدوها ثم إن زنت فاجلدوها ثم إن زنت فاجلدوها ثم إن زنت فبيعوها ولو بضفير والضفير الحبل في الثالثة أو في الرابعة