From Sahih Bukhari (Hadith 178):
Narrated `Ali:I used to get emotional urethral discharges frequently and felt shy to ask Allah's Messenger (ﷺ) about it. So I requested Al-Miqdad bin Al-Aswad to ask (the Prophet (ﷺ) ) about it. Al-Miqdad asked him and he replied, "One has to perform ablution (after it)
Reference: Bukhari 178