Abdullah bin Umar reported,

We used to pledge allegiance to the Messenger of Allah ﷺ upon hearing and obeying, and he would say, "In what you are able to do."Ali said, "In what you are able to do."

Nasai 4192

Sahih

أخبرنا قتيبة قال حدثنا سفيان عن عبد الله بن دينار ح و أخبرني علي بن حجر عن إسمعيل عن عبد الله بن دينار

عن ابن عمر قال

كنا نبايع رسول الله ﷺ على السمع والطاعة ثم يقول فيما استطعت وقال علي فيما استطعتم

النسائي 4192صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Pledge of allegiance
Chapter
Pledge of allegiance in what a person is able to do
Numbering
Darussalam 4192
Nasai 4192