The Messenger of Allah ﷺ cursed the man who dressed like a woman and the woman who dressed like a man. (Using translation from Abū Dāʾūd 4098)
«أَنَّ رَسُولَ اللَّهِ ﷺ لَعَنَ الْمَرْأَةَ تَلْبَسُ لِبْسَةَ الرَّجُلِ وَالرَّجُلَ يَلْبَسُ لِبْسَةَ الْمَرْأَةِ»