The Messenger of Allah ﷺ forbade wrapping oneself in the Samma manner, and forbade a man from sitting with his knees drawn up in a single garment with nothing covering his private parts.
حدثنا هاشم حدثنا ليث حدثني ابن شهاب عن عبيد الله بن عبد الله بن عتبة
نهى رسول الله ﷺ عن اشتمال الصماء وأن يحتبي الرجل في ثوب واحد ليس على فرجه منه شيء
Its isnad is sahih, and the hadith has already passed at 10790.10965m - Abdul-Razzaq narrated to us, Maamar narrated to us from Zuhri, who said, Ata bin Yazid said, and Hajjaj also narrated to us from Ibn Jurayj, who said, Ibn Shihab informed me, from Ubaydullah bin Abdullah, from Abu Saeed Khudri, that the Prophet ﷺ forbade something, and he mentioned it like the previous one, meaning like the hadith.Sahih (10965m). Its isnad is sahih.