Sunan Abi Dawud, Book 34, Hadith 10 (Abu Dawud 4030)

Narrated Abdullah ibn Umar:

The Prophet (ﷺ) as saying: If anyone wears a garment for gaining fame, Allah will clothe him in a similar garment on the Day of Resurrection.