Sahih Muslim , Book 24, Hadith 5207 (USC-MSA) ⓘ
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.
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عَفَّانُ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ، عَنْ ثَابِتٍ، عَنْ أَبِي رَافِعٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ " إِنَّ رَجُلاً مِمَّنْ كَانَ قَبْلَكُمْ يَتَبَخْتَرُ فِي حُلَّةٍ " . ثُمَّ ذَكَرَ مِثْلَ حَدِيثِهِمْ .
also referenced under: Book 37, Hadith 84 (In-Book) & Hadith 2088 (Reference)