The Messenger of Allah ﷺ forbade wrapping oneself in the Samma manner, and forbade sitting with the knees drawn up in a single garment when nothing of it covers the private parts.
أخبرنا قتيبة قال حدثنا الليث عن ابن شهاب عن عبيد الله بن عبد الله
نهى رسول الله ﷺ عن اشتمال الصماء وأن يحتبي في ثوب واحد ليس على فرجه منه شيء
Bukhari narrated it in the Book of Prayer, Chapter on what must be covered of the private parts, hadith no. 367, from Qutayba, through the same chain.