Abu Saeed Khudri reported,

The Messenger of Allah ﷺ forbade two ways of wearing a garment.The first is the Samma wrap, which means a person drapes his garment over one shoulder, leaving the other side of his body exposed with nothing covering it.The second is sitting with one's garment wrapped around the knees while drawn up against the body, with nothing covering the private parts beneath it.

Azami 2563

Sahih

عن أبي سعيد الخدري قال

نهى رسول الله ﷺ عن لبستين، واللبستان: اشتمال الصماء، والصماء: أن يجعل ثوبه على أحد عاتقيه، فيبدو أحد شقيه ليس عليه ثوب. واللبسة الأخرى: احتباؤه بثوبه وهو جالس، ليس على فرجه منه شيء.

الأعظمي 2563صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
What one may pray in
Section
Prohibition of wrapping in Samma during prayer
Numbering
Jami al-Kamil 2563 (2nd edition)
Azami 2563