كتاب الفضائل
43  
The Book of Virtues
(20)
Chapter: His Avoidance Of Sin, His Choosing The Easier Of Permissible Things, And His Vengeance For The Sake Of Allah If His Sacred Limits Were Transgressed
(20)
باب مُبَاعَدَتِهِ صلى الله عليه وسلم لِلآثَامِ وَاخْتِيَارِهِ مِنَ الْمُبَاحِ أَسْهَلَهُ وَانْتِقَامِهِ ل
Sahih Muslim 2328 a

'A'isha reported that Allah's Messenger (ﷺ) never beat anyone with his hand, neither a woman nor a servant, but only, in the case when he had been fighting in the cause of Allah and he never took revenge for anything unless the things made inviolable by Allah were made violable; he then took revenge for Allah, the Exalted and Glorious.

حَدَّثَنَاهُ أَبُو كُرَيْبٍ، حَدَّثَنَا أَبُو أُسَامَةَ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، قَالَتْ مَا ضَرَبَ رَسُولُ اللَّهِ صلى الله عليه وسلم شَيْئًا قَطُّ بِيَدِهِ وَلاَ امْرَأَةً وَلاَ خَادِمًا إِلاَّ أَنْ يُجَاهِدَ فِي سَبِيلِ اللَّهِ وَمَا نِيلَ مِنْهُ شَىْءٌ قَطُّ فَيَنْتَقِمَ مِنْ صَاحِبِهِ إِلاَّ أَنْ يُنْتَهَكَ شَىْءٌ مِنْ مَحَارِمِ اللَّهِ فَيَنْتَقِمَ لِلَّهِ عَزَّ وَجَلَّ ‏.‏
Reference : Sahih Muslim 2328a
In-book reference : Book 43, Hadith 108
USC-MSA web (English) reference : Book 30, Hadith 5756
  (deprecated numbering scheme)