Muhammad bin Hanafiya reported,

Ali said, "I was a man who frequently experienced prostatic discharge, but I was too shy to ask the Messenger of Allah ﷺ about it, so I instructed Miqdad bin Aswad to ask him. He said that it requires ablution."Shuba also narrated it from Amash.

Bukhari 178

Sahih

حدثنا قتيبة بن سعيد قال حدثنا جرير عن الأعمش عن منذر أبي يعلى الثوري

عن محمد بن الحنفية قال

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

البخاري 178صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Wudu
Chapter
Those who hold that wudu is required only for that which exits from the two passages, the front and rear
Numbering
Darussalam 178
Bukhari 178