The Prophet ﷺ cursed effeminate men (those men who are in the similitude (assume the manners of women) and those women who assume the manners of men, and he said, "Turn them out of your houses ." The Prophet ﷺ turned out such-and-such man, and ʿUmar turned out such-and-such woman.
لَعَنَ النَّبِيُّ ﷺ الْمُخَنَّثِينَ مِنَ الرِّجَالِ وَالْمُتَرَجِّلاَتِ مِنَ النِّسَاءِ وَقَالَ أَخْرِجُوهُمْ مِنْ بُيُوتِكُمْ قَالَ فَأَخْرَجَ النَّبِيُّ ﷺ فُلاَنًا وَأَخْرَجَ عُمَرُ فُلاَنًا