Jami` at-Tirmidhi, Book 27, Hadith 106 (Tirmidhi 2068)

Iylas bin Salamah bin Al-Akwa' narrated from his father that the Messenger of Allah said:

"A man shall remain exalting himself until he is written among the tyrants, so that he suffers from their afflictions."