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

Jami` at-Tirmidhi Book 27, Hadith 56