Sunan Abi Dawud, Book 43, Hadith 158 (Abu Dawud 4932)

Ibn ‘Abbas said:

The Prophet (May peace be upon him) cursed effeminate men (mukhannathan) and women who imitated men, saying: Put them out of your houses, and put so-and-so out. (that is to say, the effeminate men)