Language:
كتاب الفتن
92  
Afflictions and the End of the World
(15)
Chapter: To seek refuge with Allah from Al-Fitan
(15)
باب التَّعَوُّذِ مِنَ الْفِتَنِ
Sahih al-Bukhari 7090
The the above hadith was narrated by Anas through another chain and said (with the wording) "and every man had his head wrapped in his garment and weeping". And he said (with the wording) "seeking refuge with Allah from the evil of afflictions" or he said "I seek refuge with Allah from the evil of afflictions."
وَقَالَ عَبَّاسٌ النَّرْسِيُّ حَدَّثَنَا يَزِيدُ بْنُ زُرَيْعٍ، حَدَّثَنَا سَعِيدٌ، حَدَّثَنَا قَتَادَةُ، أَنَّ أَنَسًا، حَدَّثَهُمْ أَنَّ نَبِيَّ اللَّهِ صلى الله عليه وسلم بِهَذَا وَقَالَ كُلُّ رَجُلٍ لاَفًّا رَأْسَهُ فِي ثَوْبِهِ يَبْكِي‏.‏ وَقَالَ عَائِذًا بِاللَّهِ مِنْ سُوءِ الْفِتَنِ‏.‏ أَوْ قَالَ أَعُوذُ بِاللَّهِ مِنْ سُوءِ الْفِتَنِ‏.‏
Reference : Sahih al-Bukhari 7090
In-book reference : Book 92, Hadith 41
USC-MSA web (English) reference : Vol. 1, Book 88, Hadith 211
  (deprecated numbering scheme)