The Messenger of Allah ﷺ permitted the wearing of a dyed garment, as long as it did not shed dye or leave traces of color.
حدثنا ابن نمير عن حجاج بن أرطاة عن حسين بن عبد الله عن عكرمة
أن رسول الله ﷺ رخص في الثوب المصبوغ ما لم يكن به نفض ولا ردع
No references are available.
Its isnad is daif, due to the weakness of Husayn bin Abdullah. The hadith is a repetition of no. 3314.