In Sharik's narration, he traced it back to the Prophet ﷺ, who said, "Whoever wears a garment of vanity, Allah will clothe him on the Day of Resurrection in a garment like it." Abu Awana's version adds, "then it will be set ablaze upon him with fire."
حدثنا محمد بن عيسى حدثنا أبو عوانة ح و حدثنا محمد يعني ابن عيسى عن شريك عن عثمان بن أبي زرعة عن المهاجر الشامي
في حديث شريك يرفعه قال من لبس ثوب شهرة ألبسه الله يوم القيامة ثوبا مثله زاد عن أبي عوانة ثم تلهب فيه النار