It was narrated from Hisham:
My father told me that `Ali (رضي الله عنه) said to al-Miqdad: Ask the Messenger of Allah (ﷺ) about a man who gets close to a woman and emits madhi, for I am too shy to ask him because his daughter is married to me. The Messenger of Allah (ﷺ) said: “Let him wash his private part and testicles, and do wudoo`.