Sunan Ibn Majah, Book 1, Hadith 214 (Ibn Majah 480)

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.'"