Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:216Abū al-Ḥusayn b. Bishrān> Abū al-Ḥasan ʿAlī b. Muḥammad al-Miṣrī > Mālik b. Yaḥyá > Abū Badr Shujāʿ b. al-Walīd > Sulaymān b. Mihrān > Abū Ṣāliḥ > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said: When one of you wakes up from sleep, he should not put his hand in the container until he washes his hand, as he does not know where his hand has spent the night. Sulayman said that he mentioned this to Ibrahim, who replied that the companions of Abdullah said, "How does Abu Huraira use the utensil?" Sulayman said that they did not see any harm in using it if it is clean. And Shafi'i relied on the hadith of Ibn 'Abbas narrated from the Prophet ﷺ about leaving ablution during eating after leaving the toilet, and it has already been mentioned. The Sheikh said that our companions relied on the hadith of Rifa'a ibn Rafi' narrated from the Prophet ﷺ , and it has already been mentioned.  

البيهقي:٢١٦أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ بِشْرَانَ بِبَغْدَادَ أنا أَبُو الْحَسَنِ عَلِيُّ بْنُ مُحَمَّدٍ الْمِصْرِيُّ ثنا مَالِكُ بْنُ يَحْيَى أنا أَبُو بَدْرٍ شُجَاعُ بْنُ الْوَلِيدِ ثنا سُلَيْمَانُ بْنُ مِهْرَانَ عَنْ أَبِي صَالِحٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللهِ ﷺ إِذَا اسْتَيْقَظَ أَحَدُكُمْ مِنَ النَّوْمِ فَلَا يُدْخِلْ يَدَهُ فِي الْإِنَاءِ حَتَّى يَغْسِلَ يَدَهُ فَإِنَّهُ لَا يَدْرِي أَيْنَ بَاتَتْ يَدُهُ قَالَ سُلَيْمَانُ فَذُكِرَ ذَلِكَ لِإِبْرَاهِيمَ قَالَ قَالَ أَصْحَابُ عَبْدِ اللهِ فكَيْفَ يَصْنَعُ أَبُو هُرَيْرَةَ بِالْمِهْرَاسِ؟ فَقَالَ سُلَيْمَانُ فَكَانُوا لَا يَرَوْنَ بَأْسًا أَنْ يُدْخِلَهَا إِذَا كَانَتْ نَظِيفَةً وَاحْتَجَّ الشَّافِعِيُّ بِحَدِيثِ ابْنِ عَبَّاسٍ عَنِ النَّبِيِّ ﷺ فِي تَرْكِ الْوُضُوءِ عِنْدَ الطَّعَامِ بَعْدَمَا خَرَجَ مِنَ الْخَلَاءِ وَقَدْ مَضَى ذِكْرُهُ قَالَ الشَّيْخُ وَاحْتَجَّ أَصْحَابُنَا فِي ذَلِكَ بِحَدِيثِ رِفَاعَةَ بْنِ رَافِعٍ عَنِ النَّبِيِّ ﷺ وَقَدْ مَضَى ذِكْرُهُ