Sayyiduna Zaid bin Khalid al-Juhani (may Allah be pleased with him) and Sayyiduna Abu Hurairah (may Allah be pleased with him) said: We were sitting with the Messenger of Allah (peace and blessings be upon him) when a man came to him and said, "My slave girl has committed adultery." The Messenger of Allah (peace and blessings be upon him) said: "Flog her. If she commits adultery again, then flog her. If she commits adultery a third time, then flog her. If she commits adultery again, then sell her, even if only for the price of a rope."
Hadith Referenceالسنن المأثورة / باب الحدود / 528
Hadith Takhrijصحیح بخاری، العتق، باب کراہیۃ التطاول علی الرقیق، رقم: 2556، صحیح مسلم، الحدود، باب رجم الیہود اھل الذمة فی الزنی، رقم: 1703