It was narrated that Abu Ayyub said:
"I heard the Messenger of Allah say: 'Whoever touches his sexual organ, let him perform ablution.'" (JA)
English reference (JA): Vol. 1, Book 1, Hadith 482 (JA)
Arabic reference (JA): Book 1, Hadith 520 (JA)