Abu Umamah reported: I heard the Messenger of Allah, peace and blessings be upon him, while he was upon his camel during the farewell pilgrimage and he was saying, “I enjoin you to be good to your neighbors.” The Prophet repeated it so much that I said, “Indeed, he will make them inherit from us!”
Source: al-Mu’jam al-Kabīr 7397
Grade: Sahih (authentic) according to Al-Albani
عن أبي أمامة قال سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ عَلَى نَاقَتِهِ الْجَدْعَاءِ فِي حَجَّةِ الْوَدَاعِ يَقُولُ أُوصِيكُمْ بِالْجَارِ حَتَّى أَكْثَرَ فَقُلْتُ إِنَّهُ لَيُوَرِّثُهُ
7397 المعجم الكبير للطبراني باب الصاد من اسمه الصعب
2573 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح الترغيب