كتاب البر والصلة والآداب
45  
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
(42)
Chapter: Advice To Treat One's Neighbor Well
(42)
باب الْوَصِيَّةِ بِالْجَارِ وَالإِحْسَانِ إِلَيْهِ ‏ ‏
Sahih Muslim 2625 a

Ibn Umar reported Allah's Messenger (ﷺ) as saying:

Gabriel impressed upon me (the kind treatment) towards the neighbour (so much) that I thought as if he would soon confer upon him the (right) of inheritance.
حَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ عُمَرَ الْقَوَارِيرِيُّ، حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، عَنْ عُمَرَ بْنِ مُحَمَّدٍ، عَنْ أَبِيهِ، قَالَ سَمِعْتُ ابْنَ عُمَرَ، يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ مَا زَالَ جِبْرِيلُ يُوصِينِي بِالْجَارِ حَتَّى ظَنَنْتُ أَنَّهُ سَيُوَرِّثُهُ ‏"‏ ‏.‏
Reference : Sahih Muslim 2625a
In-book reference : Book 45, Hadith 184
USC-MSA web (English) reference : Book 32, Hadith 6356
  (deprecated numbering scheme)