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.
bukhari:269Abū al-Walīd > Zāʾidah > Abū Ḥaṣīn > Abū ʿAbd al-Raḥman > ʿAlī

I used to get emotional urethral discharge frequently. Being the son-in-law of the Prophet ﷺ I requested a man to ask him about it. So the man asked the Prophet ﷺ about it. The Prophet ﷺ replied, "Perform ablution after washing your organ (penis)."  

البخاري:٢٦٩حَدَّثَنَا أَبُو الْوَلِيدِ قَالَ حَدَّثَنَا زَائِدَةُ عَنْ أَبِي حَصِينٍ عَنْ أَبِي عَبْدِ الرَّحْمَنِ عَنْ عَلِيٍّ قَالَ كُنْتُ رَجُلاً مَذَّاءً فَأَمَرْتُ رَجُلاً

أَنْ يَسْأَلَ النَّبِيَّ ﷺ لِمَكَانِ ابْنَتِهِ فَسَأَلَ فَقَالَ تَوَضَّأْ وَاغْسِلْ ذَكَرَكَ  


See similar narrations below:

Collected by Muslim, Aḥmad
muslim:303aAbū Bakr b. Abū Shaybah > Wakīʿ Waʾabū Muʿāwiyah Wahushaym > al-Aʿmash > Mundhir b. Yaʿlá Wayukná Abū Yaʿlá > Ibn al-Ḥanafiyyah > ʿAlī

I was one whose prostatic fluid flowed readily and I was ashamed to ask the Apostle ﷺ about it, because of the position of his daughter. I, therefore, asked Miqdad. b. al-Asad and he inquired of him (the Holy Prophet). He (the Holy Prophet) said: He should wash his male organ and perform ablution.  

مسلم:٣٠٣aحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا وَكِيعٌ وَأَبُو مُعَاوِيَةَ وَهُشَيْمٌ عَنِ الأَعْمَشِ عَنْ مُنْذِرِ بْنِ يَعْلَى وَيُكْنَى أَبَا يَعْلَى عَنِ ابْنِ الْحَنَفِيَّةِ عَنْ عَلِيٍّ قَالَ كُنْتُ رَجُلاً مَذَّاءً وَكُنْتُ أَسْتَحْيِي

أَنْ أَسْأَلَ النَّبِيَّ ﷺ لِمَكَانِ ابْنَتِهِ فَأَمَرْتُ الْمِقْدَادَ بْنَ الأَسْوَدِ فَسَأَلَهُ فَقَالَ يَغْسِلُ ذَكَرَهُ وَيَتَوَضَّأُ  

ahmad:606ʿAbdullāh > Muḥammad b. ʿAbdullāh b. Numayr > Wakīʿ > al-Aʿmash > al-Mundhir > Muḥammad b. ʿAlī > ʿAlī

I was a man who emitted a great deal of madhi, but I felt too shy to ask the Prophet ﷺ about that because of the position of his daughter, so I told al-Miqdad bin al-Aswad to ask him, and he said: ʿLet him wash his private part and do wudoo’.ʿ  

أحمد:٦٠٦حَدَّثَنَا عَبْدُ اللهِ حَدَّثَنِي مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ نُمَيْرٍ حَدَّثَنَا وَكِيعٌ حَدَّثَنَا الْأَعْمَشُ عَنِ الْمُنْذِرِ عَنْ مُحَمَّدِ بْنِ عَلِيٍّ عَنْ عَلِيٍّ قَالَ كُنْتُ رَجُلًا مَذَّاءً فَكُنْتُ أَسْتَحْيِي

أَنْ أَسْأَلَ رَسُولَ اللهِ ﷺ لِمَكَانِ ابْنَتِهِ فَأَمَرْتُ الْمِقْدَادَ فَسَأَلَهُ فَقَالَ يَغْسِلُ ذَكَرَهُ وَيَتَوَضَّأُ