Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
suyuti:1383a
Request/Fix translation

  

السيوطي:١٣٨٣a

("إذا أمرتُكمْ بأمرٍ فأتوا منه ما اسْتَطَعْتُم".  

[خ] البخاري [م] مسلم عن أبي هريرة)

See similar narrations below:

Collected by Ibn Ḥibbān
ibnhibban:20Muḥammad b. al-Ḥasan b. Qutaybah > Ibn Abū al-Sarī > ʿAbd al-Razzāq > Maʿmar > Hammām b. Munabbih > Hadhā Mā > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said: "Whatever I have forbidden you from, refrain from it. And whatever I have commanded you to do, do it to the best of your ability."  

ابن حبّان:٢٠أَخْبَرَنَا مُحَمَّدُ بْنُ الْحَسَنِ بْنِ قُتَيْبَةَ قَالَ حَدَّثَنَا ابْنُ أَبِي السَّرِيِّ قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ قَالَ أَخْبَرَنَا مَعْمَرٌ عَنْ هَمَّامِ بْنِ مُنَبِّهٍ قَالَ هَذَا مَا حَدَّثَنَا أَبُو هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ «مَا نَهَيْتُكُمْ عَنْ شَيْءٍ فَاجْتَنِبُوهُ وَمَا أَمَرْتُكُمْ بِالْأَمْرِ فَأْتُوا مِنْهُ مَا اسْتَطَعْتُمْ»