كتاب المقدمات
The Book of Miscellany
(69)
Chapter: Desirability of Seclusion at times of corruption committed by the people of the World
(69)
- باب استحباب العزلة عند فساد الناس والزمان أو الخوف من فتنة فى الدين ووقوع فى حرام وشبهات ونحوها
Riyad as-Salihin 598
Abu Sa'id Al-Khudri (May Allah be pleased with him) reported:
Messenger of Allah (ﷺ) said, "The best possession of a Muslim will be a herd of sheep with which he retires to the top of a mountain or places where rain is expected to fall (pastures) so as to safeguard with his faith from tribulation."

[Al- Bukhari].

وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ ‏ "‏يوشك أن يكون خير مال المسلم غنم يتتبع بها شعف الجبال، ومواقع القطر، يفر بدينه من الفتن‏"‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏ وشعف الجبال ‏:‏أعلاها
Reference : Riyad as-Salihin 598
In-book reference : Introduction, Hadith 598