كتاب المقدمات
The Book of Miscellany
(69)
Chapter: Desirability of Seclusion at times of corruption committed by the people of the World
(69)
- باب استحباب العزلة عند فساد الناس والزمان أو الخوف من فتنة فى الدين ووقوع فى حرام وشبهات ونحوها
Riyad as-Salihin 600
Abu Hurairah (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, "The best of people is a man who is holding his horse's rein in the way of Allah (in Jihad) and is galloping towards the place wherever he hears a call for war or detects a note of danger; he goes on proceeding, seeking martyrdom or death wherever it is expected. And a man who retires with some sheep in a mountainside or a valley. He performs Salat regularly and pays the Zakat, continues worshipping his Rubb, till death overtakes him. He does not interfere in the affairs of the people except for betterment."

[Muslim].

وعنه عن رسول الله صلى الله عليه وسلم أنه قال‏:‏ “من خير معاش الناس رجل ممسك عنان فرسه فى سبيل الله، يطير على متنه، كلما سمع هيعه أو فزعة، طار عليه يبتغى القتل، أو الموت مظانه، أو رجل فى غنيمة فى رأس شعفة من هذه الشعف، أو بطن واد من هذه الأودية يقيم الصلاة، ويؤتى الزكاة، ويعبد ربه حتى يأتيه اليقين، ليس من الناس إلا فى خير” ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 600
In-book reference : Introduction, Hadith 600