Sahih Muslim, Book 37, Hadith 70 (Muslim 5407)

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

He who trails his (lower) garment out of pride, Allah will not look toward him on the Day of Resurrection.