Sunnah.com : Book 4, Hadith 35
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
اللهم لك الحمد أنت كسوتنيه، أسألك خيره وخير ما صنع له، وأعوذ بك من شره وشر ما صنع له"
Abu Sa`id Al-Khudri (May Allah be pleased with him) reported:
When Messenger of Allah (ﷺ) wore a new garment, he would name it. For instance, a turban or shirt or cloak and would supplicate: "Allahumma lakal-hamdu, Anta kasautanihi, as`aluka khairahu wa khaira ma suni`a lahu, wa a`udhu bika min sharrihi wa sharri ma suni`a lahu (O Allah, all the praise is for You that You have given it to me to put on. I ask You its goodness and the goodness of the purpose for which it was made, and I seek Your Protection from its evil and the evil of the purpose for which it was made).'' [Abu Dawud and At-Tirmidhi].
Full reference and source
Sunnah.com : Book 4, Hadith 35 Arabic/English book : Book 4, Hadith 813
View source on Sunnah.com (opens in a new tab)