Sahih al-Bukhari 7202
Sahih al-Bukhari · Book 93: Judgments (Ahkaam) · How do the people give the Bai'a to the Imam
Narrated `Abdullah bin `Umar:
حَدَّثَنَا عَبْدُ اللَّهِ بْنُ يُوسُفَ ، أَخْبَرَنَا مَالِكٌ ، عَنْ عَبْدِ اللَّهِ بْنِ دِينَارٍ ، عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ ـ رضى الله عنهما ـ قَالَ كُنَّا إِذَا بَايَعْنَا رَسُولَ اللَّهِ صلى الله عليه وسلم عَلَى السَّمْعِ وَالطَّاعَةِ يَقُولُ لَنَا " فِيمَا اسْتَطَعْتَ " .
Whenever we gave the Pledge of allegiance to Allah's Messenger (ﷺ) for to listen to and obey, he used to say to us, for as much as you can."