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."
حدثنا إسماعيل قال حدثني مالك عن ابن شهاب عن عبيد الله بن عبد الله
أن رسول الله ﷺ سئل عن الأمة إذا زنت ولم تحصن قال إن زنت فاجلدوها ثم إن زنت فاجلدوها ثم إن زنت فبيعوها ولو بضفير قال ابن شهاب لا أدري بعد الثالثة أو الرابعة