The Prophet ﷺ forbade two manners of wearing a garment. As for the two manners, they are the Samma wrap, and sitting with the knees drawn up wrapped in a single garment with nothing covering one's private parts.
حدثنا أبو بكر حدثنا سفيان بن عيينة عن الزهري عن عطاء بن يزيد الليثي
أن النبي ﷺ نهى عن لبستين فأما اللبستان فاشتمال الصماء والاحتباء في الثوب الواحد ليس على فرجه منه شيء