Sunan Abi Dawud, Hadith 4912 ⓘ
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)
حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا هِشَامٌ، عَنْ يَحْيَى، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم لَعَنَ الْمُخَنَّثِينَ مِنَ الرِّجَالِ وَالْمُتَرَجِّلاَتِ مِنَ النِّسَاءِ وَقَالَ " أَخْرِجُوهُمْ مِنْ بُيُوتِكُمْ وَأَخْرِجُوا فُلاَنًا وَفُلاَنًا " . يَعْنِي الْمُخَنَّثِينَ .
also referenced under: Hadith 4930 (DarusSalam)