Abu Ma'bad narrates from Abdullah bin Abbas (may Allah be pleased with them both): "Whoever swears regarding his slave that he will beat him, his expiation is to refrain from it, and along with the expiation there is a good deed."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأيمان / 19864