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

Arabic hadith text
حَدَّثَنَا يَحْيَى، حَدَّثَنَا وَكِيعٌ، عَنْ هِشَامٍ، عَنْ أَبِيهِ، عَنْ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، ‏‏{‏خُذِ الْعَفْوَ وَأْمُرْ بِالْعُرْفِ‏}‏ قَالَ مَا أَنْزَلَ اللَّهُ إِلاَّ فِي أَخْلاَقِ النَّاسِ‏.‏
Translation
Narrated `Abdullah bin AzZubair

(The Verse) "Hold to forgiveness; command what is right..." was revealed by Allah except in connection with the character of the people.