كتاب الفتن وأشراط الساعة
54  
The Book of Tribulations and Portents of the Last Hour
(3)
Chapter: Onset Of Tribulations Like Rainfall
(3)
باب نُزُولِ الْفِتَنِ كَمَوَاقِعِ الْقَطْرِ
Sahih Muslim 2886 c

Abu Huraira reported Allah's Apostle (ﷺ) as saying:

There would be turmoil and the one who would sleep would be better than who would be awake and the one who would be awake would be better than one who would stand and one who would stand would be better than one who would run. So he who finds refuge or shelter should take that refuge or shelter.
حَدَّثَنِي إِسْحَاقُ بْنُ مَنْصُورٍ، أَخْبَرَنَا أَبُو دَاوُدَ الطَّيَالِسِيُّ، حَدَّثَنَا إِبْرَاهِيمُ بْنُ سَعْدٍ، عَنْ أَبِيهِ، عَنْ أَبِي سَلَمَةَ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ تَكُونُ فِتْنَةٌ النَّائِمُ فِيهَا خَيْرٌ مِنَ الْيَقْظَانِ وَالْيَقْظَانُ فِيهَا خَيْرٌ مِنَ الْقَائِمِ وَالْقَائِمُ فِيهَا خَيْرٌ مِنَ السَّاعِي فَمَنْ وَجَدَ مَلْجَأً أَوْ مَعَاذًا فَلْيَسْتَعِذْ ‏"‏ ‏.‏
Reference : Sahih Muslim 2886c
In-book reference : Book 54, Hadith 15
USC-MSA web (English) reference : Book 41, Hadith 6895
  (deprecated numbering scheme)