Ibn Umar reported: The Messenger of Allah, peace and blessings be upon him, said, “How many neighbors will be brought with their neighbors on the Day of Resurrection? One will say: O Lord, this man closed his door to me and he refused to show courtesy.”
Source: al-Adab al-Mufrad 111
Grade: Sahih (authentic) according to Al-Suyuti
عَنِ ابْنِ عُمَرَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَمْ مِنْ جَارٍ مُتَعَلِّقٌ بِجَارِهِ يَوْمَ الْقِيَامَةِ يَقُولُ يَا رَبِّ هَذَا أَغْلَقَ بَابَهُ دُونِي فَمَنَعَ مَعْرُوفَهُ
111 الأدب المفرد البخاري باب من أغلق الباب على الجار
6497 المحدث السيوطي خلاصة حكم المحدث صحيح في الجامع الصغير