Sunan an-Nasa'i, Book 48, Hadith 289 (Nasa'i 5337)

It was narrated that Muharib said:

"I heard Ibn 'Umar narrating that the Messenger of Allah said: 'Whoever drags his garment out of vanity, Allah, the Mighty and Sublime, will not look at him on the Day of Resurrection.'"