The pledge Sunan Ibn Majah 2868

Arabic hadith text
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا شُعْبَةُ، عَنْ عَتَّابٍ، - مَوْلَى هُرْمُزَ - قَالَ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ، يَقُولُبَايَعْنَا رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى السَّمْعِ وَالطَّاعَةِ فَقَالَ ‏"‏ فِيمَا اسْتَطَعْتُمْ ‏"
Translation
It wasnarrated that ‘Attab, the freed slave of Hurmuz, said

“IheardAnas bin Malik say: ‘We gave our pledge to the Messenger ofAllah(ﷺ) on the basis that we would listen and obey. He (ﷺ) said:“Asmuch as you can.”