حَدَّثَنَا أَبُو عَبْدِ اللَّهِ، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، قَالَ أَنْبَأَنَا جَرِيرٌ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:‏ذَرُونِي مَا تَرَكْتُكُمْ فَإِنَّمَا هَلَكَ مَنْ كَانَ قَبْلَكُمْ بِسُؤَالِهِمْ وَاخْتِلاَفِهِمْ عَلَى أَنْبِيَائِهِمْ فَإِذَا أَمَرْتُكُمْ بِشَىْءٍ فَخُذُوا مِنْهُ مَا اسْتَطَعْتُمْ وَإِذَا نَهَيْتُكُمْ عَنْ شَىْءٍ فَانْتَهُوا

Book 0: The book of the sunnah
Chapter 1: Following the sunnah of the Messenger of Allāh (peace and blessings of Allāh be upon him)

Ḥadīth [2]: It was narrated that Abī Hurayrah (may Allāh be pleased with him) said: The Messenger of Allāh (peace and blessings of Allāh be upon him) said: “Leave me as I have left you (don’t ask me the minor things that I have avoided to tell you). For those who came before you were doomed because of their questions and differences with their Prophets. If I command you to do something, then do as much of it as you can, and if I forbid you from doing something, then refrain from it.”

• Ṣaḥīḥ al-Bukhārī (7288)
• Ṣaḥīḥ Muslim (1337)

Sunan at-Tirmidhī (2679)
Sunan ibn Mājah (1)

Grade:

Ṣaḥīḥ by Ḥāfiẓ Zubayr ‘Alī Za’ī (Sunan ibn Mājah) [1]
Ṣaḥīḥ by Shaykh al-Albānī (Sunan ibn Mājah)
Ṣaḥīḥ isnād by Shaykh Shu’ayb al-Arna’ūṭ (Sunan ibn Mājah)


[1] Ḥāfiẓ Zubayr ‘Alī Za’ī had not mentioned any grade in his research, but he had mentioned the sources from Ṣaḥīḥ Muslim and Ṣaḥīḥ al-Bukhārī; so based on that, we have attributed to him grading the ḥadīth as ṣaḥīḥ. And Allāh knows best.