Sunan Ibn Majah, Book 32, Hadith 11 (Ibn Majah 3562)

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.