It was narrated from Abu Hurairah that the Messenger of Allah (ﷺ) forbade two kinds of dress:
Ishtimalus-Samma’ and Ihtiba’, exposing one’s private part to the sky.