Full Sharh — Riyad as-Salihin 610
وعن أبي سعيد الخدري رضي الله عنه قال: أتى رجل رسول الله صلى الله عليه وسلم فقال: أي الناس أفضل؟ قال: "مؤمن يجاهد بنفسه وماله في سبيل الله" قال: ثم من؟ قال: "مؤمن في شعب من الشعاب يعبد الله ويدع الناس من شره" ((متفق عليه))
English Translation
Abu Sa'id Al-Khudri (May Allah be pleased with him) reported:: A man came to the Messenger of Allah (ﷺ) and said, "Who is the best among men?" He (ﷺ) replied, "A believer who strives in the way of Allah with his wealth and life." The man asked again, "Who is next to him (in excellence)?" He (ﷺ) said, "Next to him is a man who is engaged in worshipping his Rubb in a mountain valley, leaving the people secure from his mischief.".
Source
Riyad as-Salihin(رياض الصالحين)
The Book of Jihad
Hadith Number
610