From Sahih Bukhari (Hadith 132):
Narrated `Ali: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)
Reference: Bukhari 132