Abdullah ibn Mas’ud reported: The Prophet, peace and blessings be upon him, said, “If you hear your neighbors say you have done well, then you have done well. If you hear your neighbors say you have done evil, then you have done evil.”
Source: Sunan Ibn Mājah 4223
Grade: Sahih (authentic) according to Al-Albani
عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ قَالَ النَّبِيُّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ إِذَا سَمِعْتَ جِيرَانَكَ يَقُولُونَ أَنْ قَدْ أَحْسَنْتَ فَقَدْ أَحْسَنْتَ وَإِذَا سَمِعْتَهُمْ يَقُولُونَ قَدْ أَسَأْتَ فَقَدْ أَسَأْتَ
4223 سنن ابن ماجه كتاب الزهد باب الثناء الحسن
610 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الجامع