Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:16986Maʿmar > Ayyūb > ʿIkrimah > Amar

[Machine] The Messenger of Allah commanded that a man from the mukhannatheen be expelled from the city, and Abu Bakr was also commanded to expel a man from among them.  

البيهقي:١٦٩٨٦قَالَ وَأَخْبَرَنَا مَعْمَرٌ عَنْ أَيُّوبَ عَنْ عِكْرِمَةَ قَالَ

أَمَرَ رَسُولُ اللهِ ﷺ بِرَجُلٍ مِنَ الْمُخَنَّثِينَ فَأُخْرِجَ عَنِ الْمَدِينَةِ وَأَمَرَ أَبُو بَكْرٍ ؓ بِرَجُلٍ مِنْهُمْ فَأُخْرِجَ أَيْضًا