Ayesha reported,

A man asked permission to see the Messenger of Allah ﷺ while I was with him. He said, "What a wretched man of his clan," or "What a wretched brother of his clan." Then he gave him permission to enter and spoke gently to him.When the man left, I said, "Messenger of Allah, you said what you said about him, then you spoke gently to him."He replied, "Ayesha, among the worst of people is one whom others abandon, or avoid, out of fear of his foul behavior."

Tirmidhi 1996

Sahih

حدثنا ابن أبي عمر حدثنا سفيان بن عيينة عن محمد بن المنكدر عن عروة بن الزبير

عن عائشة قالت

استأذن رجل على رسول الله ﷺ وأنا عنده فقال بئس ابن العشيرة أو أخو العشيرة ثم أذن له فألان له القول فلما خرج قلت له يا رسول الله قلت له ما قلت ثم ألنت له القول فقال يا عائشة إن من شر الناس من تركه الناس أو ودعه الناس اتقاء فحشه

الترمذي 1996صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Righteousness and maintaining ties
Chapter
Gentleness in dealing with people
Numbering
Darussalam 1996
Tirmidhi 1996