Uqba bin Amir reported,

A silk garment was gifted to the Messenger of Allah ﷺ, and he put it on and prayed in it. When he finished, he pulled it off forcefully, as though he disliked it, and said, "This is not fitting for those who are mindful of Allah."

Azami 15470

Sahih

عن عقبة بن عامر أنه قال

أهدي لرسول الله ﷺ فروج حرير فلبسه، ثم صلى فيه، ثم انصرف، فنزعه نزعا شديدا، كالكاره له، ثم قال: لا ينبغي هذا للمتقين.

الأعظمي 15470صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Clothing and adornment
Chapter
Women's clothing and adornment
Section
Prohibition of silk for men but not women
Numbering
Jami al-Kamil 15470 (2nd edition)
Azami 15470