Riyad as-Salihin, Book 4, Hadith 813 (In-Book)

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].

عن أبى سعيد الخدرى رضى الله عنه قال‏:‏ كان رسول الله صلى الله عليه وسلم إذا استجد ثوباً سماه باسمه -عمامة، أو قميصاً، أو رداء -يقول‏:‏ ‏ "‏ اللهم لك الحمد أنت كسوتنيه، أسألك خيره وخير ما صنع له، وأعوذ بك من شره وشر ما صنع له‏" ‏ ‏(‏‏(‏رواه أبو داود، والترمذى وقال‏:‏حديث حسن‏)‏‏)‏‏.‏

sunnah.com