It was narrated that 'Ali said:
"I was one who had a lot of prostatic discharge, so I asked the Prophet (ﷺ) and he said: 'If you see Madhi (prostatic fluid) then perform Wudu' and wash your penis, but if you see semen ejaculated, then perform Ghusl.'" (JA)
English reference (JA): Vol. 1, Book 1, Hadith 194 (JA)
Arabic reference (JA): Book 1, Hadith 195 (JA)