Sunan Abu Dawud 4930
General Behavior (Kitab Al-Adab)
حَدَّثَنَا مُسْلِمُ بْنُ إِبْرَاهِيمَ، حَدَّثَنَا هِشَامٌ، عَنْ يَحْيَى، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم لَعَنَ الْمُخَنَّثِينَ مِنَ الرِّجَالِ وَالْمُتَرَجِّلاَتِ مِنَ النِّسَاءِ وَقَالَ " أَخْرِجُوهُمْ مِنْ بُيُوتِكُمْ وَأَخْرِجُوا فُلاَنًا وَفُلاَنًا " . يَعْنِي الْمُخَنَّثِينَ .
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)
Grading: Al-Albani: Sahih · Muhammad Muhyi Al-Din Abdul Hamid: Sahih · Shuaib Al Arnaut: Sahih · Zubair Ali Zai: Sahih Bukhari (6834)
Text from the public-domain hadith-api dataset. Numbering follows that dataset and can differ by a few from some printed editions — check the wording, not only the number.