Umm Salama bint Abu Umaya reported,

The Prophet ﷺ came in to see me while a mukhannath was with me, and I heard him saying to Abdullah bin Abu Umaya, "Abdullah, do you see, if Allah grants you victory over Taif tomorrow, then you should take the daughter of Ghaylan, for she shows four folds when she comes forward and eight when she turns away."The Prophet ﷺ then said, "These men must not enter upon your women."Ibn Uyayna said, and Ibn Jurayj said, the mukhannath was named Hit.Mahmud narrated to us, Abu Usama narrated to us from Hisham with this same report, and he added that this happened while he was besieging Taif on that day.

Bukhari 4324

Sahih

حدثنا الحميدي سمع سفيان حدثنا هشام عن أبيه عن زينب بنت أبي سلمة

عن أمها أم سلمة رضي الله عنها

دخل علي النبي ﷺ وعندي مخنث فسمعته يقول لعبد الله بن أبي أمية يا عبد الله أرأيت إن فتح الله عليكم الطائف غدا فعليك بابنة غيلان فإنها تقبل بأربع وتدبر بثمان وقال النبي ﷺ لا يدخلن هؤلاء عليكن قال ابن عيينة وقال ابن جريج المخنث هيت حدثنا محمود حدثنا أبو أسامة عن هشام بهذا وزاد وهو محاصر الطائف يومئذ

البخاري 4324صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Expedition of Taif in Shawwal, year eight
Numbering
Darussalam 4324
Bukhari 4324