Jabir bin Abdullah reported,

The Messenger of Allah ﷺ forbade wrapping oneself in the manner of Samma, sitting with one's garment drawn up around the knees in a single piece of cloth, and a man placing one leg over the other while lying flat on his back.

Muslim 5501

Sahih

حدثنا قتيبة حدثنا ليث ح و حدثنا ابن رمح أخبرنا الليث عن أبي الزبير

عن جابر

أن رسول الله ﷺ نهى عن اشتمال الصماء والاحتباء في ثوب واحد وأن يرفع الرجل إحدى رجليه على الأخرى وهو مستلق على ظهره

مسلم 5501صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Clothing and adornment
Chapter
Prohibition of lying on one's back and placing one leg over the other
Numbering
Darussalam 5501
Muslim 5501