"I heard the Messenger of Allah say: 'Whoever touches his sexual organ then let him perform ablution."
Sunan Ibn Majah Book 1, Hadith 215