اللَّهُمَّ لَكَ الحَمدُ أَنْتَ كَسَوْتَنِيهِ، أَسْأَلُكَ مِنْ خَيْرِهِ وَخَيْرِ مَا صُنِعَ لَهُ، وَأَعُوذُ بِكَ مِنْ شَرِّهِ وَشِّرِ مَا صُنِعَ لَهُ
O Allāh, for You is all praise, You have clothed me with it (i.e. the garment), I ask You for the good of it and the good for which it was made, and I seek refuge with You from the evil of it and the evil for which it was made.
Reference: Abū Dāwud (#4020) and al-Tirmidhī (#1767) and al-Baghawī. The wording is from Abū Dāwud. Also see Mukhtaṣar Shamāʾil al-Tirmidhī by Al-Albānī (p.\ 47).