Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) once mentioned the following:
My beloved brothers! There is something which I wish to mention! If you hear people attributing any weakness or fault to me, then you should inform me of what they have said about me.
In reality, when people pull out one’s faults, then one should regard such people as his well-wishers (as they are bringing his weaknesses to his attention). After hearing what they have mentioned, he should ponder to see how much of truth lies in their words.
If the person who attributed the weakness or fault is sincere in his correction, then this is good and should make one happy, and he should then make a concerted effort to rectify himself. On the contrary, if the weakness or fault mentioned is untrue, then he should express gratitude to Allah Ta‘ala (that through the grace of Allah Ta‘ala, he is free of the weakness or fault which the person had attributed to him).
The crux of the matter is that when one hears people mentioning his weakness or fault, he should not become upset or angry.
(Malfoozaat Shaikhul Hadeeth pg. 28)
Source: Ihyaauddeen.co.za