Abu Huraira reported: The Messenger of Allah, peace and blessings be upon him, said, “Gabriel kept advising me to be good to neighbors until I thought he would make them my heirs.”
Source: Sunan Ibn Mājah 3674
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي هُرَيْرَةَ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا زَالَ جِبْرِيلُ يُوصِينِي بِالْجَارِ حَتَّى ظَنَنْتُ أَنَّهُ سَيُوَرِّثُهُ
3674 سنن ابن ماجه كتاب الأدب باب حق الجوار
2978 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح ابن ماجه