The Prophet ﷺ entered upon her while an effeminate man was with her, saying to her brother Abdullah, "If Allah grants you victory over Taif tomorrow, I will guide you to a woman who comes forward with four rolls of flesh and goes back with eight."The Prophet ﷺ then said, "Expel such people from your houses."
حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن هشام يعني ابن عروة عن أبيه عن زينب بنت أم سلمة
أن النبي ﷺ دخل عليها وعندها مخنث وهو يقول لعبد الله أخيها إن يفتح الله الطائف غدا دللتك على امرأة تقبل بأربع وتدبر بثمان فقال النبي ﷺ أخرجوهم من بيوتكم
Muslim narrated it in "The Book of Greetings, chapter: Forbidding the effeminate from entering upon women who are not his relatives," no. 2180, from Abu Bakr bin Abu Shayba, and this is in al-Musannaf, 9/63. Bukhari narrated it in "The Book of Marriage, chapter: What is forbidden regarding those who imitate women entering upon a woman," no. 5235, from the hadith of Hisham bin Urwa, with the same wording.