Reference: Fataawa al-Lajnah ad-Daa.imah lil-Buhooth al-‘Ilmiyyah wal-Iftaa. – Fatwa No.11535
Fataawa Ramadhaan – Volume 2, Page 457, Fatwa No.388
Question: After ‘Asr one day during Ramadhaan, whilst fasting, I entered the bathroom. After urinating I often squeeze out any remaining urine from my penis. After I had done this, I noticed some thick sticky liquid excreting without desire. I completed my fast by breaking it after Maghrib. Does the excretion of this liquid affect my fast and does it require me to make the ritual purification (ghusl)?
And if it is obligatory upon me to make up that day, and I have not fasted for that day except after the passing of the second Ramadhaan, what is the ruling?
Response: The excretion of thick, sticky fluid after urinating without desire is not sperm, rather it is the secretion of prostate and it does not nullify the fast and it is not obligatory to make the ghusl. Rather, it is obligatory upon you to wash your penis then make ablution. As long as you did not break your fast and did not intend this before Maghrib, then your fast is valid and there is nothing [else] required of you.
And with Allaah lies all the success, and may Allaah send prayers and salutations upon our Prophet Muhammad ﷺ and his family and his companions.