(1) The Book of Purification and its Sunnah
كتاب الطهارة وسننها
(63) Chapter: Ablution after touching the penis
(63) باب الْوُضُوءِ مِنْ مَسِّ الذَّكَرِ
Sunan Ibn Majah 482 
It was narrated that Abu Ayyub said:
"I heard the Messenger of Allah say: 'Whoever touches his sexual organ, let him perform ablution.'"
حَدَّثَنَا سُفْيَانُ بْنُ وَكِيعٍ، حَدَّثَنَا عَبْدُ السَّلاَمِ بْنُ حَرْبٍ، عَنْ إِسْحَاقَ بْنِ أَبِي فَرْوَةَ، عَنِ الزُّهْرِيِّ، عَنْ عَبْدِ اللَّهِ بْنِ عَبْدٍ الْقَارِيِّ، عَنْ أَبِي أَيُّوبَ، قَالَ سَمِعْتُ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏ "‏ مَنْ مَسَّ فَرْجَهُ فَلْيَتَوَضَّأْ ‏"‏ ‏.‏
Grade :  Hasan (Darussalam)
Reference : Sunan Ibn Majah 482
In-book reference : Book 1, Hadith 216
English translation : Vol. 1, Book 1, Hadith 482