Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:13224Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū Bakr Aḥmad b. Salmān al-Faqīh > al-Ḥasan b. Mukram > Yazīd b. Hārūn > Yaḥyá b. Saʿīd > Abū Bakr b. Muḥammad b. ʿAmr b. Ḥazm > ʿAmrah b. ʿAbd al-Raḥman > ʿĀʾishah > Rasūl Allāh Ṣalá

[Machine] The Messenger of Allah ﷺ said, "Gabriel kept advising me about treating neighbors well until I thought he would make them inherit from me."  

البيهقي:١٣٢٢٤أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ أنبأ أَبُو بَكْرٍ أَحْمَدُ بْنُ سَلْمَانَ الْفَقِيهُ ثنا الْحَسَنُ بْنُ مُكْرَمٍ ثنا يَزِيدُ بْنُ هَارُونَ أنبأ يَحْيَى بْنُ سَعِيدٍ أَنَّ أَبَا بَكْرِ بْنَ مُحَمَّدِ بْنِ عَمْرِو بْنِ حَزْمٍ أَخْبَرَهُ عَنْ عَمْرَةَ بِنْتِ عَبْدِ الرَّحْمَنِ أَنَّهَا سَمِعَتْ عَائِشَةَ ؓ تَقُولُ

قَالَ رَسُولُ اللهِ ﷺ مَا زَالَ جِبْرَائِيلُ يُوصِينِي بِالْجَارِ حَتَّى ظَنَنْتُ أَنَّهُ سَيُوَرِّثُهُ  

أَخْرَجَهُ الْبُخَارِيُّ وَمُسْلِمٌ فِي الصَّحِيحِ مِنْ أَوْجُهٍ أُخَرَ عَنْ يَحْيَى بْنِ سَعِيدٍ الْأَنْصَارِيِّ

See similar narrations below:

Collected by Ṭabarānī

شَدَّادٌ أَبُو عَمَّارٍ، عَنْ أَبِي أُمَامَةَ ؓ

tabarani:7630Aḥmad b. Abū Yaḥyá al-Ḥaḍramī > Aḥmad b. Muḥammad b. ʿUmar b. Yūnus al-Yamāmī > ʿUmar b. Yūnus > Sulaymān b. Abū Sulaymān > Yaḥyá b. Abū Kathīr > Shaddād Abū ʿAmmār > Abū Umāmah > al-Nabī Ṣallá

Mujahid said that Abdullah ibn Amr slaughtered a sheep and said: Have you presented a gift from it to my neighbour, the Jew, for I heard the Messenger of Allah ﷺ say: Gabriel kept on commending the neighbour to me so that I thought he would make an heir? (Using translation from Abū Dāʾūd 5152)   

الطبراني:٧٦٣٠حَدَّثَنَا أَحْمَدُ بْنُ أَبِي يَحْيَى الْحَضْرَمِيُّ ثنا أَحْمَدُ بْنُ مُحَمَّدِ بْنِ عُمَرَ بْنِ يُونُسَ الْيَمَامِيُّ ثنا عُمَرُ بْنُ يُونُسَ ثنا سُلَيْمَانُ بْنُ أَبِي سُلَيْمَانَ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ شَدَّادٍ أَبِي عَمَّارٍ عَنْ أَبِي أُمَامَةَ

أَنَّ النَّبِيَّ ﷺ قَالَ «مَا زَالَ جِبْرِيلُ يُوصِينِي بِالْجَارِ حَتَّى ظَنَنْتُ أَنَّهُ سَيُوَرِّثُهُ»