Abu Saeed Khudri reported,

A bedouin came to the Prophet ﷺ and asked, "Messenger of Allah, who is the best of people?"He replied, "A man who strives in the cause of Allah with his life and wealth, and a man in one of the mountain passes worshipping his Lord and sparing people from his harm."Zubaydi, Sulayman bin Kathir, and Numan corroborated this from Zuhri. Muamar reported it from Zuhri, from Ata or Ubaydullah, from Abu Saeed, from the Prophet ﷺ. Yunus, Ibn Musafir, and Yahya bin Saeed reported it from Ibn Shihab, from Ata, from one of the companions of the Prophet ﷺ, from the Prophet ﷺ.

Bukhari 6494

Sahih

حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال حدثني عطاء بن يزيد أن أبا سعيد حدثه قال قيل يا رسول الله وقال محمد بن يوسف حدثنا الأوزاعي حدثنا الزهري عن عطاء بن يزيد الليثي

عن أبي سعيد الخدري قال

جاء أعرابي إلى النبي ﷺ فقال يا رسول الله أي الناس خير قال رجل جاهد بنفسه وماله ورجل في شعب من الشعاب يعبد ربه ويدع الناس من شره تابعه الزبيدي وسليمان بن كثير والنعمان عن الزهري وقال معمر عن الزهري عن عطاء أو عبيد الله عن أبي سعيد عن النبي ﷺ وقال يونس وابن مسافر ويحيى بن سعيد عن ابن شهاب عن عطاء عن بعض أصحاب النبي ﷺ عن النبي ﷺ

البخاري 6494صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Softening of hearts
Chapter
Seclusion is a relief from bad company
Numbering
Darussalam 6494
Bukhari 6494