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