Sahih al-Bukhari, Book 60, Hadith 152 (Bukhari 3339)

Narrated Ibn `Umar:

The Prophet (ﷺ) said, "While a man was walking, dragging his dress with pride, he was caused to be swallowed by the earth and will go on sinking in it till the Day of Resurrection."