Miqdad bin Aswad reported,

Ali instructed him to ask the Messenger of Allah ﷺ about a man who, when approaching his wife, has madhi come out of him, what is required of him. Ali said, "His daughter is married to me, and I feel too shy to ask him myself."So I asked the Messenger of Allah ﷺ about that, and he said, "When any of you experiences that, let him wash his private part and perform ablution as he does for prayer."

Nasai 156

Sahih

أخبرنا عتبة بن عبد الله المروزي عن مالك وهو ابن أنس عن أبي النضر عن سليمان بن يسار

عن المقداد بن الأسود

أن عليا أمره أن يسأل رسول الله ﷺ عن الرجل إذا دنا من أهله فخرج منه المذي ماذا عليه فإن عندي ابنته وأنا أستحي أن أسأله فسألت رسول الله ﷺ عن ذلك فقال إذا وجد أحدكم ذلك فلينضح فرجه ويتوضأ وضوءه للصلاة

النسائي 156صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Purification
Chapter
What invalidates wudu and what does not invalidate wudu from madhi
Numbering
Darussalam 156
Nasai 156