(15) باب التَّعَوُّذِ مِنَ الْفِتَنِ
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(deprecated numbering scheme): Vol. 1, Book 88, Hadith 211