The Prophet ﷺ put on a robe of brocade that had been gifted to him, but he soon took it off and sent it to Umar. He was told, "You took it off so quickly, Messenger of Allah."He replied, "Jibreel forbade me from wearing it."Then Umar came weeping and said, "Messenger of Allah, you disliked something and yet gave it to me?"The Prophet ﷺ said, "I did not give it to you for you to wear it. I gave it to you so that you might sell it."So Umar sold it for two thousand dirhams.
حدثنا يوسف بن سعيد قال حدثنا حجاج عن ابن جريج قال أخبرني أبو الزبير أنه سمع
لبس النبي ﷺ قباء من ديباج أهدي له ثم أوشك أن نزعه فأرسل به إلى عمر فقيل له قد أوشك ما نزعته يا رسول الله قال نهاني عنه جبريل عليه السلام فجاء عمر يبكي فقال يا رسول الله كرهت أمرا وأعطيتنيه قال إني لم أعطكه لتلبسه إنما أعطيتكه لتبيعه فباعه عمر بألفي درهم
Reported by Muslim, in the Book of Clothing, chapter on the prohibition of wearing silk and the like for men, hadith no. 2070, from the hadith of Hajjaj bin Shayr, from Ibn Jurayj, with the same wording. Hajjaj in the chain of Nasai is Ibn Muhammad al-Awar.