Sunan Abi Dawud, Book 28, Hadith 25 (Abu Dawud 3761)

Narrated Abdullah ibn Abbas:

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.