Sunan Ibn Majah, Book 20, Hadith 33 (Ibn Majah 2567)
It was narrated that Abu Hurairah, Zaid bin Khalid and Shibl said:
“We were with the Prophet (ﷺ) and a man asked him about a slave woman who commits fornication (again), whip her, even if that is for a rope of hair.' ”