Sunan Abi Dawud, Book 20, Hadith 13 (Abu Dawud 2941)

Narrated Ibn 'Umar:

We used to take the oath of allegiance to the Prophet (ﷺ) to hear and obey, and he would tell: In What I am able.