Musnad Ahmad 1355
It was narrated from Abu Matar that He saw `Ali (رضي الله عنه) go to a young boy and buy a chemise from him for three dirhams. He put it on, and when it reached his wrists and ankles he said:
Praise be to Allah Who has provided me with a garment with which to beautify myself before the people and cover my `awrah. It was said: Is this something you say yourself or are you narrating it from the Prophet of Allah (ﷺ)? He said: This is something that I heard the Messenger of Allah (ﷺ) say when putting on a garment: “Praise be to Allah Who has provided me with a garment with which to beautify myself before the people and cover my `awrah.”
حَدَّثَنَا مُحَمَّدُ بْنُ عُبَيْدٍ، حَدَّثَنَا مُخْتَارُ بْنُ نَافِعٍ التَّمَّارُ، عَنْ أَبِي مَطَرٍ، أَنَّهُ رَأَى عَلِيًّا أَتَى غُلَامًا حَدَثًا فَاشْتَرَى، مِنْهُ قَمِيصًا بِثَلَاثَةِ دَرَاهِمَ وَلَبِسَهُ إِلَى مَا بَيْنَ الرُّسْغَيْنِ إِلَى الْكَعْبَيْنِ يَقُولُ وَلَبِسَهُ الْحَمْدُ لِلَّهِ الَّذِي رَزَقَنِي مِنْ الرِّيَاشِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ وَأُوَارِي بِهِ عَوْرَتِي فَقِيلَ هَذَا شَيْءٌ تَرْوِيهِ عَنْ نَفْسِكَ أَوْ عَنْ نَبِيِّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ هَذَا شَيْءٌ سَمِعْتُهُ مِنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُهُ عِنْدَ الْكُسْوَةِ الْحَمْدُ لِلَّهِ الَّذِي رَزَقَنِي مِنْ الرِّيَاشِ مَا أَتَجَمَّلُ بِهِ فِي النَّاسِ وَأُوَارِي بِهِ عَوْرَتِي‏.‏