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:132Musaddad > ʿAbdullāh b. Dāwud > al-Aʿmash > Mundhir al-Thawrī > Muḥammad Ibn al-Ḥanafiyyah > ʿAlī

I used to get the emotional urethral discharge frequently so I requested Al-Miqdad to ask the Prophet ﷺ about it. Al-Miqdad asked him and he replied, "One has to perform ablution (after it)." (See Hadith No. 269).  

البخاري:١٣٢حَدَّثَنَا مُسَدَّدٌ قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ دَاوُدَ عَنِ الأَعْمَشِ عَنْ مُنْذِرٍ الثَّوْرِيِّ عَنْ مُحَمَّدٍ ابْنِ الْحَنَفِيَّةِ عَنْ عَلِيٍّ قَالَ

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