Al-Adab Al-Mufrad, Book 42, Hadith 1050 (English)

'Abdullah ibn 'Amr reported that a man asked the Messenger of Allah, may Allah bless him and grant him peace, "Which is the best of Islam?" He replied, "Feeding people and giving the greeting to those you know and those you do not know."

حَدَّثَنَا عَبْدُ اللهِ بْنُ صَالِحٍ قَالَ‏:‏ حَدَّثَنِي اللَّيْثُ قَالَ‏:‏ حَدَّثَنِي يَزِيدُ بْنُ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ عَبْدِ اللهِ بْنِ عَمْرٍو، أَنَّ رَجُلاً سَأَلَ رَسُولَ اللهِ صلى الله عليه وسلم‏:‏ أَيُّ الإِسْلاَمِ خَيْرٌ‏؟‏ قَالَ‏:‏ تُطْعِمُ الطَّعَامَ، وَتَقْرَأُ السَّلاَمَ عَلَى مَنْ عَرَفْتَ وَمَنْ لَمْ تَعْرِفْ‏.‏

sunnah.com