Suwaid bin Muqarrin Al-Muzani said:
“We were seven brothers without a servant except one, and one of us slapped her, so the Prophet ordered us to free her.” (Sahih)
He said: There is something on this topic from Ibn ‘Umar.
Word ‘Khadim’ in the hadith is used both for a male or female slave or servant. This narration shows that a slave, whether man or a slave woman should be treated with kindness. He or she should not be abused.
Jami At-tirmidhi volume 3, hadith number 1542.