Allah's Messenger (ﷺ) never took revenge for his own self in any matter presented to him…

Sahih al-Bukhari Book 86 Hadith 76

Sahih al-Bukhari #6853

Limits and Punishments set by Allah (Hudood) 86:76

Narrated `Aisha:

Allah's Messenger (ﷺ) never took revenge for his own self in any matter presented to him till Allah's limits were exceeded, in which case he would take revenge for Allah's sake.

Chapter: What punishment may be inflicted on the person so that they may not commit the same sin again, or so that they may learn good manners

Grade: Sahih