Hadith 321
وَقد روى أَبُو هُرَيْرَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ الله صلى الله عَلَيْهِ وَسلم: عَنْ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «إِذَا أَفْضَى أَحَدُكُمْ بِيَدِهِ إِلَى ذَكَرِهِ لَيْسَ بَيْنَهُ وَبَيْنَهَا شَيْءٌ فَلْيَتَوَضَّأْ» . رَوَاهُ الشَّافِعِيُّ والدراقطني
The shaikh and imam Muhyi as-Sunna said that this is abrogated because Abu Huraira accepted Islam after Talq came, and Abu Huraira has transmitted from God’s messenger the saying, “If anyone touches his penis with his hand, nothing coming between them, he must perform ablution.” Shafi‘i and Daraqutni transmitted it,