كتاب الأيمان
27  
The Book of Oaths
(8)
Chapter: Treatment of slaves, and the expiation of one who slaps his slave
(8)
باب صُحْبَةِ الْمَمَالِيكِ وَكَفَّارَةِ مَنْ لَطَمَ عَبْدَهُ ‏‏
Sahih Muslim 1659 d

Abu Mas'ud reported that he had been beating his slave and he had been saying:

I seek refuge with Allah, but he continued beating him, whereupon he said: I seek refuge with Allah's Messenger, and he spared him. Thereupon Allah's Messenger (ﷺ) said: By Allah, God has more dominance over you than you have over him (the slave). He said that he set him free.
وَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، وَابْنُ، بَشَّارٍ - وَاللَّفْظُ لاِبْنِ الْمُثَنَّى - قَالاَ حَدَّثَنَا ابْنُ، أَبِي عَدِيٍّ عَنْ شُعْبَةَ، عَنْ سُلَيْمَانَ، عَنْ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي مَسْعُودٍ، أَنَّهُ كَانَ يَضْرِبُ غُلاَمَهُ فَجَعَلَ يَقُولُ أَعُوذُ بِاللَّهِ - قَالَ - فَجَعَلَ يَضْرِبُهُ فَقَالَ أَعُوذُ بِرَسُولِ اللَّهِ ‏.‏ فَتَرَكَهُ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ وَاللَّهِ لَلَّهُ أَقْدَرُ عَلَيْكَ مِنْكَ عَلَيْهِ ‏"‏ ‏.‏ قَالَ فَأَعْتَقَهُ ‏.‏
Reference : Sahih Muslim 1659d
In-book reference : Book 27, Hadith 56
USC-MSA web (English) reference : Book 15, Hadith 4089
  (deprecated numbering scheme)