Language:
كتاب الرقاق
81  
To make the Heart Tender (Ar-Riqaq)
(34)
Chapter: Seclusion is better for a believer than to have evil companions
(34)
باب الْعُزْلَةُ رَاحَةٌ مِنْ خُلاَّطِ السُّوءِ
Sahih al-Bukhari 6495

Narrated Abu Sa`id:

I heard from the Prophet (ﷺ) saying, "There will come a time upon the people when the best property of a Muslim will be sheep which he will take to the tops of mountains and to the places of rainfall, run away with his religion (in order to save it) from afflictions."

حَدَّثَنَا أَبُو نُعَيْمٍ، حَدَّثَنَا الْمَاجِشُونُ، عَنْ عَبْدِ الرَّحْمَنِ بْنِ أَبِي صَعْصَعَةَ، عَنْ أَبِيهِ، عَنْ أَبِي سَعِيدٍ، أَنَّهُ سَمِعَهُ يَقُولُ سَمِعْتُ النَّبِيَّ صلى الله عليه وسلم يَقُولُ ‏ "‏ يَأْتِي عَلَى النَّاسِ زَمَانٌ خَيْرُ مَالِ الرَّجُلِ الْمُسْلِمِ الْغَنَمُ، يَتْبَعُ بِهَا شَعَفَ الْجِبَالِ وَمَوَاقِعَ الْقَطْرِ، يَفِرُّ بِدِينِهِ مِنَ الْفِتَنِ ‏"‏‏.‏
Reference : Sahih al-Bukhari 6495
In-book reference : Book 81, Hadith 84
USC-MSA web (English) reference : Vol. 8, Book 76, Hadith 502
  (deprecated numbering scheme)