(23) باب صِفَةِ النَّبِيِّ صلى الله عليه وسلم
Narrated `Aisha:
Whenever Allah's Messenger (ﷺ) was given the choice of one of two matters, he would choose the easier of the two, as long as it was not sinful to do so, but if it was sinful to do so, he would not approach it. Allah's Messenger (ﷺ) never took revenge (over anybody) for his own sake but (he did) only when Allah's Legal Bindings were outraged in which case he would take revenge for Allah's Sake.
Reference: Sahih al-Bukhari 3560
In-book reference: Book 61, Hadith 69
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 4, Book 56, Hadith 760