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.
bayhaqi:560Abū al-Qāsim Zayd b. Abū Hāshim al-ʿAlawī Bi-al-Kūfah And ʾAbū ʿAbdullāh al-Ḥāfiẓ Waʾabū Bakr b. al-Ḥasan al-Qāḍī Binaysābūr > Abū Jaʿfar Muḥammad b. ʿAlī b. Duḥaym al-Shaybānī > Ibrāhīm b. ʿAbdullāh al-ʿAbsī > Wakīʿ > al-Aʿmash > Mundhir Abū Yaʿlá > Ibn al-Ḥanafiyyah > ʿAlī

[Machine] I asked the Messenger of Allah ﷺ about the situation of his daughter, so I ordered Miqdad ibn Al-Aswad to ask him. He said, "He washes his private parts and performs ablution."  

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

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

رَوَاهُ مُسْلِمٌ فِي الصَّحِيحِ عَنْ أَبِي بَكْرِ بْنِ أَبِي شَيْبَةَ عَنْ وَكِيعٍ وَأَخْرَجَهُ الْبُخَارِيُّ مِنْ أَوْجُهٍ عَنِ الْأَعْمَشِ

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’.ʿ  

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

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