Sunan Ibn Majah, Book 21, Hadith 2782 (In-Book) ⓘ
'Amr bin Shu'aib narrated from his father that his grandfather said: “A man came to the Prophet screaming. The Messenger of Allah said to him: 'What is the matter with you?' He said: 'My master saw me kissing a slave woman of his, so he cut off my penis.' The Prophet said: 'Take me to the man.' He was sought but could not be found, so the Messenger of Allah said: 'Go, for you are free.' He said: 'Who will protect me, O Messenger of Allah? What if my master enslaves me again?' The Messenger of Allah said: 'Your protection will be (incumbent upon) every believer or Muslim.'”
حَدَّثَنَا رَجَاءُ بْنُ الْمُرَجَّى السَّمَرْقَنْدِيُّ، حَدَّثَنَا النَّضْرُ بْنُ شُمَيْلٍ، حَدَّثَنَا أَبُو حَمْزَةَ الصَّيْرَفِيُّ، حَدَّثَنِي عَمْرُو بْنُ شُعَيْبٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، قَالَ جَاءَ رَجُلٌ إِلَى النَّبِيِّ صلى الله عليه وسلم صَارِخًا فَقَالَ لَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم " مَا لَكَ " . قَالَ سَيِّدِي رَآنِي أُقَبِّلُ جَارِيَةً لَهُ فَجَبَّ مَذَاكِيرِي . فَقَالَ النَّبِيُّ صلى الله عليه وسلم " عَلَىَّ بِالرَّجُلِ " . فَطُلِبَ فَلَمْ يُقْدَرْ عَلَيْهِ . فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " اذْهَبْ فَأَنْتَ حُرٌّ " . قَالَ عَلَى مَنْ نُصْرَتِي يَا رَسُولَ اللَّهِ قَالَ يَقُولُ أَرَأَيْتَ إِنِ اسْتَرَقَّنِي مَوْلاَىَ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " عَلَى كُلِّ مُؤْمِنٍ أَوْ مُسْلِمٍ " .
also referenced under: Hadith 2680 (Reference) & Volume 3, Book 21, Hadith 2680 (DarusSalam)