Ikrimah (may Allah have mercy on him) said that the Prophet (peace and blessings be upon him) ordered "an effeminate man to be expelled from Madinah," and Sayyiduna Abu Bakr (may Allah be pleased with him) also gave an order concerning one, and he too was then expelled.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 16986