Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:2088eAbū Bakr b. Abū Shaybah > ʿAffān > Ḥammād b. Salamah > Thābit > Abū Rāfiʿ > Abū Hurayrah

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

مسلم:٢٠٨٨eحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا عَفَّانُ حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ عَنْ ثَابِتٍ عَنْ أَبِي رَافِعٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ إِنَّ رَجُلاً مِمَّنْ كَانَ قَبْلَكُمْ يَتَبَخْتَرُ فِي حُلَّةٍ ثُمَّ ذَكَرَ مِثْلَ حَدِيثِهِمْ