حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا يَحْيَى بْنُ حَمْزَةَ، حَدَّثَنَا الزُّبَيْدِيُّ، حَدَّثَنِي الزُّهْرِيُّ، عَنْ عَطَاءِ بْنِ يَزِيدَ اللَّيْثِيِّ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّ رَجُلاً، أَتَى النَّبِيَّ ـ صلى الله عليه وسلم ـ فَقَالَ أَىُّ النَّاسِ أَفْضَلُ قَالَ ‏"‏ رَجُلٌ مُجَاهِدٌ فِي سَبِيلِ اللَّهِ بِنَفْسِهِ وَمَالِهِ ‏"‏ ‏.‏ قَالَ ثُمَّ مَنْ قَالَ ‏"‏ ثُمَّ امْرُؤٌ فِي شِعْبٍ مِنَ الشِّعَابِ يَعْبُدُ اللَّهَ عَزَّ وَجَلَّ وَيَدَعُ النَّاسَ مِنْ شَرِّهِ ‏"‏ ‏.‏

It was narrated from Abu Sa’eed Al-Khudri that a man came to theProphet (PBUH) and said: “Which of the people is best?” He said:“A manwho strives in Jihad in the cause of Allah with himself andhiswealth.” He said: “Then who?” He said: “A man in amountain pass whoworships Allah and leaves the people from hisevil.” Translation Not Available

Book Ref: Sunan Ibn Majah Book 36 Hadith 3978
Web Ref:  Sunan Ibn Majah Vol 5 Book 36 Hadith 3978