عَنْ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللَّهُ عَنْهُ يَقُولُ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ مَنِ اسْتَجَدَّ ثَوْبًا فَلَبِسَهُ فَقَالَ حِينَ يَبْلُغُ تَرْقُوَتَهُ الْحَمْدُ لِلَّهِ الَّذِي كَسَانِي مَا أُوَارِي بِهِ عَوْرَتِي وَأَتَجَمَّلُ بِهِ فِي حَيَاتِي ثُمَّ عَمَدَ إِلَى الثَّوْبِ الَّذِي أَخْلَقَ أَوْ قَالَ أَلْقَى فَتَصَدَّقَ بِهِ كَانَ فِي ذِمَّةِ اللَّهِ تَعَالَى وَفِي جِوَارِ اللَّهِ وَفِي كَنَفِ اللَّهِ حَيًّا وَمَيِّتًا حَيًّا وَمَيِّتًا حَيًّا وَمَيِّتًا
Sayyiduna Umar bin Khattab (may Allah be pleased with him) narrates that the Noble Prophet (peace and blessings be upon him) said: Whoever puts on new clothes and when the garment reaches his collarbone, he recites this supplication: "All praise is due to Allah who has clothed me with that by which I cover my private parts and adorn myself in my life." Then if he gives his old garment in charity, he comes under the responsibility, protection, and care of Allah Almighty, whether he is alive or deceased, whether he is living or dead, (in every condition he will come under the protection of Allah Almighty).
عَنْ أَبِي مَطَرٍ الْبَصْرِيِّ رَضِيَ اللَّهُ عَنْهُ وَكَانَ قَدْ أَدْرَكَ عَلِيًّا رَضِيَ اللَّهُ عَنْهُ أَنَّ عَلِيًّا اشْتَرَى ثَوْبًا بِثَلَاثَةِ دَرَاهِمَ فَلَمَّا لَبِسَهُ قَالَ الْحَمْدُ لِلَّهِ الَّذِي رَزَقَنِي مِنَ الرِّيَاشِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ وَأُوَارِي بِهِ عَوْرَتِي ثُمَّ قَالَ هَكَذَا سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُ
Abu Matar Basri, who met Sayyiduna Ali (may Allah be pleased with him), narrates that Sayyiduna Ali (may Allah be pleased with him) bought a cloth for three dirhams. When he wore it, he recited this supplication: "All praise is due to Allah, Who has provided me with fine clothing by which I adorn myself among people and with which I cover my private parts." And then he said: I heard the Messenger of Allah (peace and blessings be upon him) say the same.
عَنْ أَبِي مَطَرٍ أَيْضًا أَنَّهُ رَأَى عَلِيًّا رَضِيَ اللَّهُ عَنْهُ أَتَى غُلَامًا حَدَثًا فَاشْتَرَى مِنْهُ قَمِيصًا بِثَلَاثَةِ دَرَاهِمَ وَلَبِسَهُ إِلَى مَا بَيْنَ الرُّسْغَيْنِ إِلَى الْكَعْبَيْنِ يَقُولُ وَلَبِسَهُ الْحَمْدُ لِلَّهِ الَّذِي رَزَقَنِي مِنَ الرِّيَاشِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ وَأُوَارِي بِهِ عَوْرَتِي فَقِيلَ هَذَا شَيْءٌ تَرْوِيهِ عَنْ نَفْسِكَ أَوْ عَنْ نَبِيِّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ هَذَا شَيْءٌ سَمِعْتُهُ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ يَقُولُهُ عِنْدَ الْكُسْوَةِ الْحَمْدُ لِلَّهِ الَّذِي رَزَقَنِي مِنَ الرِّيَاشِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ وَأُوَارِي بِهِ عَوْرَتِي
It is narrated from Abu Matar that he saw Sayyiduna Ali (may Allah be pleased with him), come to a young boy and buy a shirt from him for three dirhams. When he wore it from the wrists to the ankles, he recited this supplication: "All praise is due to Allah, Who has provided me with fine clothing by which I adorn myself among people and with which I cover my private parts." When he was asked whether he was reciting this supplication from himself or narrating it from the Noble Prophet (peace and blessings be upon him), he replied: I heard the Noble Prophet (peace and blessings be upon him) recite this supplication when wearing clothes: "All praise is due to Allah, Who has provided me with fine clothing by which I adorn myself among people and with which I cover my private parts."
عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ رَضِيَ اللَّهُ عَنْهُ قَالَ كَانَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا اسْتَجَدَّ ثَوْبًا سَمَّاهُ بِاسْمِهِ قَمِيصًا أَوْ عِمَامَةً ثُمَّ يَقُولُ اللَّهُمَّ لَكَ الْحَمْدُ أَنْتَ كَسَوْتَنِيهِ أَسْأَلُكَ مِنْ خَيْرِهِ وَخَيْرِ مَا صُنِعَ لَهُ وَأَعُوذُ بِكَ مِنْ شَرِّهِ وَشَرِّ مَا صُنِعَ لَهُ
Syedna Abu Saeed Khudri (may Allah be pleased with him) narrates that when the Noble Prophet (peace and blessings be upon him) wore new clothes, he would mention its name, whether it was a shirt or a turban, and then recite this supplication: "Allahumma laka al-hamdu anta kasawtanihi, as'aluka min khayrihi wa khayri ma suni'a lahu, wa a'udhu bika min sharrihi wa sharri ma suni'a lahu" (O Allah! All praise is for You, You have clothed me with this (garment). I ask You for its goodness and the goodness of what it was made for, and I seek refuge with You from its evil and the evil of what it was made for.)