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
Hadith No. 7202
Sahih al Bukhari