Al-Furqan - 25:72

وَالَّذِينَ لَا يَشْهَدُونَ الزُّورَ وَإِذَا مَرُّوا بِاللَّغْوِ مَرُّوا كِرَامًا
[25:72]
And they who do not bear witness to what is false, and when they pass by what is vain, they pass by nobly.
Those who witness no falsehood, and, if they pass by futility, they pass by it with honourable (avoidance);
And those who will not witness vanity, but when they pass near senseless play, pass by with dignity.