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