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

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 is narrated on the authority of Abī Hurayrah (may Allāh be pleased with him) that he 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 Shaykh al-Albānī (Sunan ibn Mājah (2 (1/13)))
Ṣaḥīḥ by Majlis ‘Ilmi Dar ad-Da’wah, New Delhi (Sunan ibn Mājah (2 (1/8-9)))
Ṣaḥīḥ isnād by Shaykh Shu’ayb al-Arna’ūṭ (Sunan ibn Mājah (2 (1/3-4)))