Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:1659dMuḥammad b. al-Muthanná And Ibn Bashhār And al-Lafẓ Ibn al-Muthanná > Ibn Abū ʿAdī > Shuʿbah > Sulaymān > Ibrāhīm al-Taymī from his father > Abū Masʿūd

I seek refuge with Allah, but he continued beating him, whereupon he said: I seek refuge with Messenger of Allah, and he spared him. Thereupon Messenger of Allah ﷺ said: By Allah, God has more dominance over you than you have over him (the slave). He said that he set him free.  

مسلم:١٦٥٩dوَحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى وَابْنُ بَشَّارٍ وَاللَّفْظُ لاِبْنِ الْمُثَنَّى قَالاَ حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ عَنْ شُعْبَةَ عَنْ سُلَيْمَانَ عَنْ إِبْرَاهِيمَ التَّيْمِيِّ عَنْ أَبِيهِ عَنْ أَبِي مَسْعُودٍ

أَنَّهُ كَانَ يَضْرِبُ غُلاَمَهُ فَجَعَلَ يَقُولُ أَعُوذُ بِاللَّهِ قَالَ فَجَعَلَ يَضْرِبُهُ فَقَالَ أَعُوذُ بِرَسُولِ اللَّهِ فَتَرَكَهُ فَقَالَ رَسُولُ اللَّهِ ﷺ وَاللَّهِ لَلَّهُ أَقْدَرُ عَلَيْكَ مِنْكَ عَلَيْهِ قَالَ فَأَعْتَقَهُ