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."
Sahih al-Bukhari Book 93, Hadith 62