Sahih Muslim — Hadith 6849 (KitabGrid sequence)
Anas reported that a person was charged with fornication with the slavegirl of Allah's Messenger (ﷺ). Thereupon Allah's Messenger (ﷺ) said to 'Ali:
حَدَّثَنِي زُهَيۡرُ بۡنُ حَرۡبٍ، حَدَّثَنَا عَفَّانُ، حَدَّثَنَا حَمَّادُ بۡنُ سَلَمَةَ، أَخۡبَرَنَا ثَابِتٌ، عَنۡ أَنَسٍ، أَنَّ رَجُلاً، كَانَ يُتَّهَمُ بِأُمِّ وَلَدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لِعَلِيٍّ " اذۡهَبۡ فَاضۡرِبۡ عُنُقَهُ " . فَأَتَاهُ عَلِيٌّ فَإِذَا هُوَ فِي رَكِيٍّ يَتَبَرَّدُ فِيهَا فَقَالَ لَهُ عَلِيٌّ اخۡرُجۡ . فَنَاوَلَهُ يَدَهُ فَأَخۡرَجَهُ فَإِذَا هُوَ مَجۡبُوبٌ لَيۡسَ لَهُ ذَكَرٌ فَكَفَّ عَلِيٌّ عَنۡهُ ثُمَّ أَتَى النَّبِيَّ صلى الله عليه وسلم فَقَالَ يَا رَسُولَ اللَّهِ إِنَّهُ لَمَجۡبُوبٌ مَا لَهُ ذَكَرٌ
Translation
Zuhayr ibn Harb narrated to me: Affan narrated to us: Hammad ibn Salamah narrated to us: Thabit informed us, from Anas رضي الله تعالى عنه:
A man was under suspicion in connection with the mother of the child of the Messenger of Allah صلى الله عليه وآله وسلم. The Messenger of Allah صلى الله عليه وآله وسلم said to Ali رضي الله تعالى عنه, “Go and strike his neck.” Ali went to him and found him in a well where he was cooling himself. Ali told him, “Come out.” He gave him his hand and he brought him out, and found that his male organ had been severed and he had no penis. Ali refrained from harming him, then came to the Prophet صلى الله عليه وآله وسلم and said, “O Messenger of Allah صلى الله عليه وآله وسلم, his male organ has been severed; he has no penis.”
Ready.