وَعَنْ أَبِي هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «لَا تُقْبَلُ صَلَاةُ مَنْ أَحْدَثَ حَتَّى يتَوَضَّأ»
Translation
‘Ali said

My prostatic fluid flowed readily, and I was ashamed to consult the Prophet because of the position of his daughter so I gave orders to al-Miqdad to consult him, and the Prophet said, “He must wash his penis and perform ablution.” (Bukhari and Muslim.)