Riyad as-Salihin

Salamah bin Al-Akwa' (May Allah be pleased with him) reported: Messenger of Allah (ﷺ) said, "Man continues to display haughtiness and arrogance until he is recorded among the arrogant and will be therefore afflicted with what afflicts them."

[At- Tirmidhi, who classified it as Hadith Hasan].

- وعن سلمه بن الأكوع رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم‏:‏ “لا يزال الرجل يذهب بنفسه حتى يكتب في الجبارين، فيصيبه ما أصابهم” ‏(‏‏(‏رواه الترمذي وقال‏:‏ حديث حسن‏.‏
‏(‏‏(‏“يذهب بنفسه” أى‏:‏ يرتفع ويتكبر)‏‏)‏‏.‏