It wasnarrated that Abu Umamah said:
"Umar bin Khattab put on a newgarment and said: Al-hamdu lillahil-ladhi kasani ma uwari bihi'awrati, wa atajammalu bihi fi hayati (Praise is to Allah Who hasclothed me in something with which I conceal my nakedness and adornmyself in my life). Then he said: 'I heard the Messenger of Allah(ﷺ) say: "Whoever puts on a new garment and says: Al-hamdulillahil-ladhi kasani ma uwari bihi 'awrati, wa atajammalu bihi fihayati(Praise be to Allah Who has clothed me in something with whichIconceal my nakedness and adorn myself in my life), then takes thegarment that has worn out, or that he had taken off and gives it incharity, he will be under the shelter, protection and care of Allah,whether he lives or dies.' He said this three times."
English reference: Vol. 4, Book 32, Hadith 3557
Arabic reference: Book 32, Hadith 3686