Riyad as-Salihin, Book 12, Hadith 1289 (In-Book)

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].

وعن أبي سعيد الخدري رضي الله عنه قال‏:‏ أتى رجل رسول الله صلى الله عليه وسلم فقال‏:‏ أي الناس أفضل‏؟‏ قال‏:‏ ‏"‏مؤمن يجاهد بنفسه وماله في سبيل الله‏"‏ قال‏:‏ ثم من‏؟‏ قال‏:‏ ‏"‏مؤمن في شعب من الشعاب يعبد الله ويدع الناس من شره‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏

sunnah.com