Language:
كتاب الاعتصام بالكتاب والسنة
96  
Holding Fast to the Qur'an and Sunnah
(2)
Chapter: Following the Sunna of the Prophet (saws)
(2)
باب الاِقْتِدَاءِ بِسُنَنِ رَسُولِ اللَّهِ صلى الله عليه وسلم
Sahih al-Bukhari 7288

Narrated Abu Huraira:

The Prophet (ﷺ) said, "Leave me as I leave you, for the people who were before you were ruined because of their questions and their differences over their prophets. So, if I forbid you to do something, then keep away from it. And if I order you to do something, then do of it as much as you can."

حَدَّثَنَا إِسْمَاعِيلُ، حَدَّثَنِي مَالِكٌ، عَنْ أَبِي الزِّنَادِ، عَنِ الأَعْرَجِ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ ‏ "‏ دَعُونِي مَا تَرَكْتُكُمْ، إِنَّمَا هَلَكَ مَنْ كَانَ قَبْلَكُمْ بِسُؤَالِهِمْ وَاخْتِلاَفِهِمْ عَلَى أَنْبِيَائِهِمْ، فَإِذَا نَهَيْتُكُمْ عَنْ شَىْءٍ فَاجْتَنِبُوهُ، وَإِذَا أَمَرْتُكُمْ بِأَمْرٍ فَأْتُوا مِنْهُ مَا اسْتَطَعْتُمْ ‏"‏‏.‏
Reference : Sahih al-Bukhari 7288
In-book reference : Book 96, Hadith 19
USC-MSA web (English) reference : Vol. 9, Book 92, Hadith 391
  (deprecated numbering scheme)