It is narrated from Hazrat Abu Huraira (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When the slave woman of any one of you commits adultery and her adultery becomes clear, he should give her the prescribed punishment of flogging and should not reproach her. Sufyan says that not reproaching her means that he should not shame her for it. On the third or fourth time (he said:) Then he should sell her, even if it is for a rope of hair.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 7395