Hadith 12203

(حديث مرفوع) حَدَّثَنَا وَكِيعٌ ، حَدَّثَنَا شُعْبَةُ ، عَنْ عَتَّابٍ مَوْلَى ابْنِ هُرْمُزَ ، قَالَ : سَمِعْتُ أَنَسَ بْنَ مَالِكٍ ، قَالَ : " بَايَعْنَا رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَلَى السَّمْعِ وَالطَّاعَةِ ، فَقَالَ : فِيمَا اسْتَطَعْتُمْ " .
It is narrated from Hazrat Anas (may Allah be pleased with him) that we pledged allegiance to the Prophet (peace and blessings be upon him) on the condition of listening and obeying, and the Prophet (peace and blessings be upon him) added the restriction of "as much as you are able."
Hadith Reference مسند احمد / مسند المكثرين من الصحابة / 12203
Hadith Grading حکم دارالسلام: صحيح لغيره، وهذا اسناد حسن