Jami` at-Tirmidhi, Book 27, Hadith 56 (Tirmidhi 2018)

Abu Sa'eed Al-Khudri narrated that the Messenger of Allah said :

"When one of you beats his servant then he (should) remember Allah and, withhold your hands."