`Aishah (May Allah be pleased with her) reported: Messenger of Allah (PBUH) 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].
يَا أَيُّهَا النَّبِيُّ إِنَّا أَرْسَلْنَاكَ شَاهِدًا وَمُبَشِّرًا وَنَذِيرًا وَدَاعِيًا إِلَى اللَّهِ بِإِذْنِهِ وَسِرَاجًا مُّنِيرًا" O Prophet! We have sent you as a witness, a bearer of good tidings and of warning, as a caller to Allah by His leave and as an illuminating lamp,"[Qur'an (33:45 - 46)]