It was narrated that 'Ata bin Abu Maimunah said:
"I only know it from Anas bin Malik who said: 'No case involving retaliation was referred to the Messenger of Allah (ﷺ) but he enjoined forgiveness." (JA)
English reference (JA): Vol. 3, Book 21, Hadith 2692 (JA)
Arabic reference (JA): Book 21, Hadith 2795 (JA)