Abu Sa‘īd al-Khudri (may Allah be pleased with him) reported that a man said: “O Messenger of Allah, who is the best among people?” He said: “A believer who strives in the cause of Allah with his life and wealth.” He said: “Then who?” He said: “A man who retires to a narrow valley to worship his Lord.” In another version: “A man who is conscious of Allah and safeguards people against his evil.” Authentic hadith - Al-Bukhari and Muslim. This is the wording of Muslim