He was beating a slave of his when the Prophet ﷺ said to him, "By Allah, Allah has more power over you than you have over him."The man said, "Prophet of Allah, then I free him for the sake of Allah ."
حدثنا محمد بن جعفر حدثنا شعبة عن سليمان عن إبراهيم التيمي عن أبيه
أنه كان يضرب غلاما له فقال له النبي ﷺ والله لله أقدر عليك منك عليه قال يا نبي الله فإني أعتقه لوجه الله عز وجل
No references are available.
Its isnad is sahih, mentioned previously at 17024.