Mishkat al-Masabih 321
وَقد روى أَبُو هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ الله صلى الله عَلَيْهِ وَسلم: عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا أَفْضَى أَحَدُكُمْ بِيَدِهِ إِلَى ذَكَرِهِ لَيْسَ بَيْنَهُ وَبَيْنَهَا شَيْءٌ فَلْيَتَوَضَّأْ» . رَوَاهُ الشَّافِعِيُّ والدراقطني
And Abu Hurayrah, may Allah be pleased with him, narrated; he said: The Messenger of Allah ﷺ said — from the Messenger of Allah ﷺ, who said: "When one of you puts his hand to his private part with nothing between him and it, let him perform wudu." Reported by ash-Shafiʿi and ad-Daraqutni.