Sunan Ibn Majah, Book 21, Hadith 50 (Ibn Majah 2666)

It was narrated from 'Amr bin Shu'aib, from his father, that his grandfather said:

“A man killed his slave deliberately and with malice aforethought, so the Messenger of Allah (ﷺ) gave him one hundred lashes, banished him for one year, and cancelled his share from among the Muslims.”