[Machine] The Messenger of Allah ﷺ said, "When one of you finishes relieving himself, he should perform ablution." Ibn Naafi' added that Muhammad ibn Abdul Rahman ibn Thawban narrated this from Jaabir, who heard it from the Prophet ﷺ . Ash-Shafi'i, may Allah have mercy on him, said, "I have heard more than one of the scholars mention this narration without mentioning Jaabir's name." Abu Saeed also added in his narration, "Ash-Shafi'i said that relieving oneself with the hand refers to wiping it on the stomach, just as it is said to relieve oneself with the hand in terms of pledging allegiance, or to relieve oneself with the hand to prostrate to the ground, or to relieve oneself with the hand while kneeling on the knees."
قَالَ رَسُولُ اللهِ ﷺ إِذَا أَفْضَى أَحَدُكُمْ بِيَدِهِ إِلَى ذَكَرِهِ فَلْيَتَوَضَّأْ وَزَادَ ابْنُ نَافِعٍ فَقَالَ عَنْ مُحَمَّدِ بْنِ عَبْدِ الرَّحْمَنِ بْنِ ثَوْبَانَ عَنْ جَابِرٍ عَنِ النَّبِيِّ ﷺ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ تَعَالَى وَسَمِعْتُ غَيْرَ وَاحِدٍ مِنَ الْحُفَّاظِ يَرْوُونَهُ لَا يَذْكُرُونَ فِيهِ جَابِرًا وَزَادَ أَبُو سَعِيدٍ فِي حَدِيثِهِ قَالَ الشَّافِعِيُّ وَالْإِفْضَاءُ بِالْيَدِ إِنَّمَا هُوَ بِبَطْنِهَا كَمَا يُقَالُ أَفْضَى بِيَدِهِ مَبَايِعًا وَأَفْضَى بِيَدِهِ إِلَى الْأَرْضِ سَاجِدًا وَإِلَى رُكْبَتَيْهِ رَاكِعًا