Al-Kāfi - Volume 6 > The Words to Say when Wearing New clothes
Hadith #2

عَلِيُّ بْنُ إِبْرَاهِيمَ عَنْ أَبِيهِ عَنِ النَّوْفَلِيِّ عَنِ السَّكُونِيِّ عَنْ أَبِي عَبْدِ اللَّهِ ( عليه السلام ) قَالَ قَالَ أَمِيرُ الْمُؤْمِنِينَ ( عليه السلام ) عَلَّمَنِي رَسُولُ اللَّهِ ( صلى الله عليه وآله ) إِذَا لَبِسْتُ ثَوْباً جَدِيداً أَنْ أَقُولَ الْحَمْدُ لِلَّهِ الَّذِي كَسَانِي مِنَ اللِّبَاسِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ اللَّهُمَّ اجْعَلْهَا ثِيَابَ بَرَكَةٍ أَسْعَى فِيهَا لِمَرْضَاتِكَ وَ أَعْمُرُ فِيهَا مَسَاجِدَكَفَقَالَ يَا عَلِيُّ مَنْ قَالَ ذَلِكَ لَمْ يَتَقَمَّصْهُ حَتَّى يَغْفِرَ اللَّهُ لَهُ وَ فِي نُسْخَةٍ أُخْرَى لَمْ يُصِبْهُ شَيْ‏ءٌ يَكْرَهُهُ .

2. Ali ibn Ibrahim has narrated from his father from al-Nawfaliy from al-Sakuniy who has said the following: “Abu ‘Abd Allah, ‘Alayhi al-Salam, has stated this Hadith. ‘’Amir al-Mu’minin has said, “The Messenger of Allah, O Allah, grant compensation to Muhammad and his family worthy of their services to Your cause, taught me when wearing new clothes to say, ‘All praise belongs to Allah who has dressed me with clothes to beautify myself before the people. O Lord, make it the dress of blessings with which I will try to seek Your pleasure and build Your Masajid.’” He (the Messenger of Allah) then said to me, “O Ali whoever says it, before wearing a shirt Allah forgives him.” Another version of this Hadith says, “He will not experience anything which he dislikes.’””