Sunan an-Nasa'i, Book 39, Hadith 40 (Nasa'i 4198)

Ibn 'Umar said:

"When we gave our pledge to the Messenger of Allah to hear and obey, he would say to us: 'In as much as you can".