Jami` at-Tirmidhi, Book 43, Hadith 57 (Tirmidhi 2862)

Narrated Ibn 'Abbas:

"The Messenger of Allah (ﷺ) cursed those men who behave effeminately and those women whose behavior is masculine."