Zazan Abu Umar reported,

I came to Ibn Umar after he had freed a slave. He picked up a stick or something from the ground and said, "There is not as much reward in it as this is worth, except that I heard the Messenger of Allah ﷺ say, 'Whoever slaps his slave or strikes him, his expiation is to free him.'"

Azami 6169

Sahih

عن زاذان أبي عمر قال

أتيت ابن عمر، وقد أعتق مملوكا. قال: فأخذ من الأرض عودا أو شيئا، فقال: ما فيه من الأجر ما يسوى هذا إلا أني سمعت رسول الله ﷺ يقول: من لطم مملوكه، أو ضربه فكفارته أن يعتقه.

الأعظمي 6169صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Emancipation of slaves
Section
Expiation for one who wrongs his slave is to free him
Numbering
Jami al-Kamil 6169 (2nd edition)
Azami 6169