Malik related to me from Abdullah ibn Dinar that Abdullah ibn Umar said, "When we took an oath of allegiance with him to hear and obey, the Messenger of Allah ﷺ said to us, 'In what you are able.' "
قَالَ كُنَّا إِذَا بَايَعْنَا رَسُولَ اللَّهِ ﷺ عَلَى السَّمْعِ وَالطَّاعَةِ يَقُولُ لَنَا رَسُولُ اللَّهِ ﷺ فِيمَا اسْتَطَعْتُمْ