Imam Maalik rahmatullahi alaih reports that Isa alahis salaam said,
“Do not speak excessively without remembering Allah Ta’ala lest your hearts become hard. And indeed a hard heart is distant from the (blessings) of Allah Ta’ala but you do not know.
Do not look at the faults of people as if you are (their) lord. Instead, look at them as if you are (their) slave for indeed, people are either involved (in sin) or protected (from sin).
So have mercy on those who are involved (in sin by advising them with kindness) and be thankful to Allah Ta’ala that you are protected."
Taken from Here