"Show forgiveness, enjoin what is good, and turn away from the foolish (i.e., don't punish them)." (V.7:199) Sahih al-Bukhari 4644

Arabic hadith text
وَقَالَ عَبْدُ اللَّهِ بْنُ بَرَّادٍ حَدَّثَنَا أَبُو أُسَامَةَ، حَدَّثَنَا هِشَامٌ، عَنْ أَبِيهِ، عَنْ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، قَالَأَمَرَ اللَّهُ نَبِيَّهُ صلى الله عليه وسلم أَنْ يَأْخُذَ الْعَفْوَ مِنْ أَخْلاَقِ النَّاسِ‏.‏ أَوْ كَمَا قَالَ
Translation
`Abdullah bin Az-Zubair said

Allah ordered His Prophet to forgive the people their misbehavior (towards him).