Sayyida Busrah (may Allah be pleased with her) narrates that the Prophet Muhammad (peace and blessings be upon him) said: "Whoever touches his private part should perform the ablution as is done for prayer."
Hadith Referenceصحیح ابن حبان / كتاب الطهارة / 1116
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيحسن صحيح - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده قوي.