Sahih Muslim 2085 g
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ جَرَّ إِزَارَهُ لاَ يُرِيدُ بِذَلِكَ إِلاَّ الْمَخِيلَةَ فَإِنَّ اللَّهَ لاَ يَنْظُرُ إِلَيْهِ يَوْمَ الْقِيَامَةِ "
Muslim b. Yannaq reported that Ibn Umar saw a person trailing his lower garment, whereupon he said:
From whom do you come? He described his relationship (with the tribe he belonged) and it was found that he belonged to the tribe of Laith. Ibn. Umar recognised him and said: I heard Allah's Messenger (ﷺ) with these two ears of mine saying: He who trailed his lower garment with no other intention but pride, Allah would not look toward him on the Day of Resurrection.
Full reference and source
Sahih Muslim 2085 g In-book : Book 37, Hadith 74 USC-MSA web (English) : Book 24, Hadith 5197 (deprecated)
View source on Sunnah.com (opens in a new tab)