Kindly refer to the following link(s):
Felt discharge while praying, checked later & found wetness, is my prayer valid?
After istinja few drops of water remain inside her private part, they come out on underwear, Impure?
Can a person pray if Mathi (Prostatic Fluid) comes out during prayer?