Sahih Muslim, Book 37, Hadith 72 (Muslim 5409)

Ibn 'Umar reported Allah's Messenger (ﷺ) having said:

He who trailed his garment out of pride, Allah would not look toward him on the Day of Resurrection.