Sahih Muslim, Book 37, Hadith 84 (Muslim 5421)

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

There was a person (living before you) who took pride in his cloak. the rest of the hadith is the same.