It is narrated from Sayyiduna Abdullah bin al-Shikhkhir (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) put on a new garment, he would make this supplication: 'Allahumma inni as'aluka min khayrihi wa khayri ma suni'a lahu, wa a'udhu bika min sharrihi wa sharri ma suni'a lahu' (O Allah, I ask You for the good of this garment and the good of that for which it was made, and I seek refuge in You from its evil and the evil of that for which it was made).
Imam al-Nasa'i (may Allah have mercy on him) narrated it like this in "Amal al-Yawm wa al-Laylah".
Ibn al-Mubarak, Isa bin Yunus and Abu Usamah (may Allah have mercy on them) narrated it from al-Jurayri, from Abu Nadrah, from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him).