We relate in the book of Ibn as-Sunnī that Abū Sa‘īd al-Khudrī , whose name was Sa‘d ibn Mālik ibn Sinān, reported that when the Messenger of Allah put on clothes he would name each item—whether it was a shirt, pair of trousers or turban—and say: “O Allah, I ask You for the good of it and the good of what it is meant for, and I ask Your protection from the evil of it and the evil of what it is meant for.”
اَلَّلهُمَّ إِنِّي أَسأَلُكَ مِن خَيرِهِ وَخَيرِ مَا هُوَ لَهُ، وَأَعُوذَ بِكَ مِن شَرِّهِ وَشَرِّ مَا هُوَ لَهُ.
“Allāhumma innī as’aluka min khayrihi wa khayri mā huwa lah, wa a‘ūdhu bika min sharrihi wa sharri mā huwa lah.”
And we relate from the book of Ibn as-Sunnī that Mu‘ādh ibn Anas reported that the Messenger of Allah said: “Whoever puts on a garment and says: ‘Praise be to Allah, Who has clothed me with this garment and granted it to me without any power or might on my part,’ Allah will forgive all his past sins.”
اَلحَمدُ لِلهِ الَّذِي كَسَانِي هَذَا الثَّوبَ وَرَزَقَنِيهِ مِن غَيرِ حَولٍ مِنِّي وَلَا قُوَّةٍ.
“Al-ḥamdu li-llāhi-lladhī kasānī hādhā-th-thawba wa razaqanīhi min ghayri ḥawlin minnī wa lā quwwah.”
And we relate that Abū Sa‘īd al-Khudrī reported that whenever the Messenger of Allah put on new clothing he would mention its name—whether it was a turban, shirt or pair of trousers—and then say: “O Allah, to You belongs all praise. You have clothed me with this. I ask You for the good of it and the good for which it was created, and I seek Your protection from the evil of it and the evil of that for which it was created.” The hadith is ṣaḥīḥ and was narrated by Abū Dāwūd Sulaymān ibn al-Ash‘ath as-Sijistānī, Abū ‘Īsā Muḥammad ibn ‘Īsā ibn Sawrah at-Tirmidhī, and Abū ‘Abd ar-Raḥmān Aḥmad ibn Shu‘ayb an-Nasā’ī in their Sunans. According to at-Tirmidhī this is a ḥasan hadith.
اَلَّلهُمَّ لَكَ الحَمدُ، أَنتَ كَسَوتَنِيهِ، أَسأَلُكَ خَيرَهُ وَخَيرَ مَا صُنِعَ لَهُ، وَأَعُوذُ بِكَ مِن شَرِّهِ وَشَرِّ مَا صُنِعَ لَهُ.
“Allāhumma laka-l-ḥamd, Anta kasawtanīh, as’aluka khayrahu wa khayra mā ṣuni‘a lah, wa a‘ūdhu bika min sharrihi wa sharri mā ṣuni‘a lah.”
And we relate from the book of at-Tirmidhī that ‘Umar reported: “I heard the Messenger of Allah say: ‘Whoever puts on new clothes and says ‘Praise be to Allah, Who has dressed me in something with which to conceal my private parts and adorn myself while alive,’ and then goes to the garment that he has worn out and gives it away in charity, will be under the protection, shelter and care of Allah in life and death.’”
اَلحَمدُ لِلهِ الَّذِي كَسَانِي مَآ أُورِي بِهِ عَورَتِي وَأَتَجَمَّلُ بِهِ فِي حَيَاتِي
“Al-ḥamdu li-llāhi-lladhī kasānī mā uwārī bi-hi ‘awratī wa atajammalu bi-hi fī ḥayātī.”