Ibn Umar reported: The Messenger of Allah, peace and blessings be upon him, said, “Gabriel did not stop instructing me to treat neighbors well until I thought he would make them my heirs.”
Source: Ṣaḥīḥ al-Bukhārī 6015, Ṣaḥīḥ Muslim 2625
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَا زَالَ جِبْرِيلُ يُوصِينِي بِالْجَارِ حَتَّى ظَنَنْتُ أَنَّهُ سَيُوَرِّثُهُ
6015 صحيح البخاري كتاب الأدب باب الوصاة بالجار
2625 صحيح مسلم كتاب البر والصلة والآداب باب الوصية بالجار والإحسان إليه