It is reported that the Messenger of Allah ﷺ came out from relieving himself and was brought food. A man said, "Messenger of Allah, shall I bring you water for ablution?"He replied, "Am I intending to pray?"
حدثنا جعفر بن مسافر حدثنا صاعد بن عبيد الجزري حدثنا زهير بن معاوية حدثنا محمد بن جحادة حدثنا عمرو بن دينار المكي عن عطاء بن يسار
عن رسول الله ﷺ أنه خرج من الغائط فأتي بطعام فقال رجل يا رسول الله ألا آتيك بوضوء قال أريد الصلاة
[Sahih] Said is obscure, but his hadith has a corroborating witness in Muslim's Sahih*, no. 118/374, and with it the hadith is sound.