(1) The Book of Purification and its Sunnah
كتاب الطهارة وسننها
(63) Chapter: Ablution after touching the penis
(63) باب الْوُضُوءِ مِنْ مَسِّ الذَّكَرِ
Sunan 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.'"
حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ الْحِزَامِيُّ، حَدَّثَنَا مَعْنُ بْنُ عِيسَى، ح وَحَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ إِبْرَاهِيمَ الدِّمَشْقِيُّ، حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نَافِعٍ، جَمِيعًا عَنِ ابْنِ أَبِي ذِئْبٍ، عَنْ عُقْبَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ مُحَمَّدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ ثَوْبَانَ، عَنْ جَابِرِ بْنِ عَبْدِ اللَّهِ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ ‏ "‏ إِذَا مَسَّ أَحَدُكُمْ ذَكَرَهُ فَعَلَيْهِ الْوُضُوءُ ‏"‏ ‏.‏
Grade :  Hasan (Darussalam)
Reference : Sunan Ibn Majah 480
In-book reference : Book 1, Hadith 214
English translation : Vol. 1, Book 1, Hadith 480