عَنِ ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا قَالَ لَعَنَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ الْمُخَنِّثِينَ مِنَ الرِّجَالِ وَالْمُتَرَجِّلَاتِ مِنَ النِّسَاءِ وَقَالَ أَخْرِجُوهُمْ مِنْ بُيُوتِكُمْ فَأَخْرَجَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ فُلَانًا وَأَخْرَجَ عُمَرُ فُلَانًا
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) cursed those men who adopt effeminacy and those women who adopt masculinity, and said: "Expel the effeminate from your homes." The Prophet (peace and blessings be upon him) expelled so-and-so, and Sayyiduna Umar (may Allah be pleased with him) expelled so-and-so from the home.