The Prophet (peace and blessings be upon him) said:
"When your neighbours praise you, saying that you are a doer of good, then you truly are a doer of good; and when your neighbours say of you that you are a wrongdoer, then you certainly are a wrongdoer."
Hadith Referenceصحیح الجامع الصغیر / حرف الألف / 277
Hadith Gradingالألبانی:صحيح
Hadith Takhrij[ابن عساكر] عن ابن مسعود. المشكاة ٤٩٨٨: حم, هـ, حب, ك, طب.