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."[Al-Bukhari and Muslim].
App reference: Book 12, Hadith 5
Arabic/English book reference: Book 12, Hadith 1289