كتاب المقدمات
The Book of Miscellany
(16)
Chapter: Observing the Sunnah and the manners of its obedience
(16)
- باب الأمر بالمحافظة على السنة وآدابهـا
Riyad as-Salihin 156
Abu Hurairah (May Allah be pleased with him) reported:
The Prophet (ﷺ) said, "Do not ask me unnecessarily about the details of the things which I do not mention to you. Verily, the people before you were doomed because they were used to putting many questions to their Prophets and had differences about their Prophets. Refrain from what I forbid you and do what I command you to the best of your ability and capacity".

[Al-Bukhari and Muslim]

فالأول ‏:‏ عن أبي هريرة رضي الله عنه عن النبي صلى الله عليه وسلم قال‏:‏ ‏ "‏دعوني ماتركتكم‏:‏ إنما أهلك من كان قبلكم كثرة سؤالهم ، واختلافهم على أنبيائهم، فإذا نهيتكم عن شيء فاجتنبوه، وإذا أمرتكم بأمر فأتوا منه ما استطعتم‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏
Reference : Riyad as-Salihin 156
In-book reference : Introduction, Hadith 156