Someone asked, "Messenger of Allah, who is the best of people?"The Messenger of Allah ﷺ replied, "A believer who strives in the cause of Allah with his life and his wealth."They asked, "Then who?"He said, "A believer in a mountain pass who fears Allah and spares people from his harm."
حدثنا أبو اليمان أخبرنا شعيب عن الزهري قال وحدثني عطاء بن يزيد أنه
أنه قيل يا رسول الله أي الناس أفضل فقال رسول الله ﷺ مؤمن يجاهد في سبيل الله بنفسه وماله فقالوا ثم من قال مؤمن في شعب من الشعاب يتقي الله ويدع الناس من شره
Its isnad is sahih. Abu Yaman is Hakam bin Nafi, mentioned shortly before, and Shuayb is Ibn Abu Hamza, previously mentioned. The hadith has already appeared at 12067. Here Zuhri is narrating from Ataa, and this is not a transfer of the chain.