Urwah bin Zubair (may Allah have mercy on him) narrates: I went to Marwan bin Hakam and we discussed what things make ablution (wudu) necessary. Marwan said: Touching the private part makes ablution necessary. Urwah said: I do not know about this. Marwan said: Basrah bint Safwan (may Allah be pleased with her) informed me that she heard the Prophet ﷺ saying: "When any one of you touches his private part, he should perform ablution."
Hadith Referenceمسند الإمام الشافعي / كتاب الطهارة / 57
Hadith Takhrijاخرجه ابو داود الطهارة، باب الوضوء من مس الذكر (181) ، والنسائي الطهارة، باب الوضوء من مس الذكر (163)، والترمذى، الطهارة، باب الوضوء من مس الذكر (82)، وقال: حسن صحيح وصححه ابن الجارود (16) (17) (18) وابن خزيمة (33).