Abu Hurairah reported,

The Prophet ﷺ said, "Leave me as I have left you. Those before you were destroyed only because of their excessive questioning and their disagreements with their prophets. So when I forbid you from something, avoid it, and when I command you to do something, do as much of it as you can."

Bukhari 7288

Sahih

حدثنا إسماعيل حدثني مالك عن أبي الزناد عن الأعرج

عن أبي هريرة

عن النبي ﷺ قال دعوني ما تركتكم إنما هلك من كان قبلكم بسؤالهم واختلافهم على أنبيائهم فإذا نهيتكم عن شيء فاجتنبوه وإذا أمرتكم بأمر فأتوا منه ما استطعتم

البخاري 7288صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhering to the Book and the Sunnah
Chapter
Following the sunnah of the Messenger of Allah ﷺ
Numbering
Darussalam 7288
Bukhari 7288