Riyad as-Salihin, Book 1, Hadith 644 (In-Book)

'Aishah (May Allah be pleased with her) reported: Messenger of Allah never hit anything with his hand neither a servant nor a woman but of course, he did fight in the Cause of Allah. He never took revenge upon anyone for the wrong done to him, but of course, he exacted retribution for the sake of Allah in case the Injunctions of Allah about unlawful acts were violated.[Muslim].

وعنها قالت‏:‏ ما ضرب رسول الله صلى الله عليه وسلم شيئاً قط بيده، ولا امرأة ولا خادماً، إلا أن يجاهد في سبيل الله، وما نيل منه شئ قط فينتقم من صاحبه، إلا أن ينتهك شئ من محارم الله تعالى، فينتقم لله تعالى‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

sunnah.com