عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ رَخَّصَ فِي الثَّوْبِ الْمَصْبُوغِ مَا لَمْ يَكُنْ بِهِ نَفْضٌ وَلَا رِدْعٌ
Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrates that the Noble Prophet (peace and blessings be upon him) permitted dyed clothes, as long as their color does not transfer onto the body nor leave a stain on the body.