It was narrated that Jabir bin 'Abdullah said:
"The Messenger of Allah said: 'If anyone of you touches his penis, then he has to perform ablution.'" (JA)
English reference (JA): Vol. 1, Book 1, Hadith 480 (JA)
Arabic reference (JA): Book 1, Hadith 518 (JA)