Mishkat al-Masabih 1750
وَعَنْ عِمْرَانَ بْنِ حُصَيْنٍ وَأَبِي بَرْزَةَ قَالَا: خَرَجْنَا مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فِي جَنَازَةٍ فَرَأَى قَوْمًا قَدْ طَرَحُوا أَرْدَيْتَهُمْ يَمْشُونَ فِي قُمُصٍ فَقَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «أَبِفِعْلِ الْجَاهِلِيَّةِ تَأْخُذُونَ؟ أَوْ بِصَنِيعِ الْجَاهِلِيَّةِ تَشَبَّهُونَ؟ لَقَدْ هَمَمْتُ أَنْ أَدْعُوَ عَلَيْكُمْ دَعْوَةً تَرْجِعُونَ فِي غَيْرِ صُوَرِكُمْ» قَالَ: فَأخذُوا أرديتهم وَلم يعودوا لذَلِك. رَوَاهُ ابْن مَاجَه
From ʿImran ibn Husayn and Abu Barzah, who said: We went out with the Messenger of Allah ﷺ for a funeral, and he saw some people who had thrown off their cloaks and were walking in shirts. The Messenger of Allah ﷺ said: "Are you taking up the practice of the Jahiliyyah, or imitating the custom of the Jahiliyyah? I was about to supplicate against you with a supplication by which you would return in other than your own forms." He said: So they took their cloaks and did not do that again. Reported by Ibn Majah.