AHMAD 5267:
from Zādhān —
[Machine] What reward do I have in this? Neither this nor that is of any value. I heard the Messenger of Allah ﷺ saying, "Whoever strikes his servant, and the servant did not deserve it, or he oppressed him, or slapped him, let him seek the forgiveness of Allah, for his expiation is to set him free."
أحمد ٥٢٦٧:
عن زاذان —
مَا لِي فِيهِ مِنْ أَجْرٍ مَا يَسْوَى هَذَا أَوْ يَزِنُ هَذَا سَمِعْتُ رَسُولَ اللهِ ﷺ يَقُولُ مَنْ ضَرَبَ عَبْدًا لَهُ حَدًّا لَمْ يَأْتِهِ أَوْ ظَلَمَهُ أَوْ لَطَمَهُ شَكَّ عَبْدُ الرَّحْمَنِ فَإِنَّ كَفَّارَتَهُ أَنْ يُعْتِقَهُ
hadithunlocked.com