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:1636Abū ʿAbdullāh al-Ḥāfiẓ > Abū Bakr b. Isḥāq al-Faqīh > Muḥammad b. Ayyūb > ʿAlī b. al-Ḥasan > Ibn ʿUlayyah > Ayyūb > Ibn Abū Mulaykah > Ibn ʿAbbās

[Machine] The Prophet ﷺ came out of the bathroom and they brought food close to him. They offered him ablution, but he said, "I was only commanded to perform ablution when I stand up for prayer." Abu Bakr informed the Prophet ﷺ that Allah the Almighty commanded him to perform ablution when he stands up for prayer, regardless of whether it is the time to enter or exit.  

البيهقي:١٦٣٦أَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو بَكْرِ بْنُ إِسْحَاقَ الْفَقِيهُ ثنا مُحَمَّدُ بْنُ أَيُّوبَ ثنا عَلِيُّ بْنُ الْحَسَنِ ثنا ابْنُ عُلَيَّةَ عَنْ أَيُّوبَ عَنِ ابْنِ أَبِي مُلَيْكَةَ عَنِ ابْنِ عَبَّاسٍ قَالَ

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


See similar narrations below:

Collected by Aḥmad
ahmad:3381Ismāʿīl > Ayyūb > Ibn Abū Mulaykah > Ibn ʿAbbās

The Messenger of Allah ﷺ came out from the privy and was presented to him. They (the people) asked: Should we bring you water for ablution? He replied: I have been commanded to perform ablution when I get up for prayer. (Using translation from Abū Dāʾūd 3760)   

أحمد:٣٣٨١حَدَّثَنَا إِسْمَاعِيلُ أَخْبَرَنَا أَيُّوبُ عَنِ ابْنِ أَبِي مُلَيْكَةَ عَنِ ابْنِ عَبَّاسٍ

أَنَّ رَسُولَ اللهِ ﷺ خَرَجَ مِنَ الْخَلَاءِ فَقُرِّبَ إِلَيْهِ طَعَامٌ فَعَرَضُوا عَلَيْهِ الْوَضُوءَ فَقَالَ إِنَّمَا أُمِرْتُ بِالْوُضُوءِ إِذَا قُمْتُ إِلَى الصَّلَاةِ