The above hadith is narrated on the authority of Anas thorugh another chain and he said (with the wording) "seeking refuge with Allah from the evil of afflictions."
Sahih al-Bukhari Book 92, Hadith 42