The Prophet 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 commanded 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." (Using translation from Ibn Mājah 2)
قَالَ رَسُولُ اللهِ ﷺ ذَرُونِي مَا تَرَكْتُكُمْ فَإِنَّمَا هَلَكَ الَّذِينَ مِنْ قَبْلِكُمْ بِسُؤَالِهِمْ وَاخْتِلَافِهِمْ عَلَى أَنْبِيَائِهِمْ فَإِذَا نَهَيْتُكُمْ عَنِ الشَّيْءِ فَاجْتَنِبُوهُ وَإِذَا أَمَرْتُكُمْ بِالشَّيْءِ فَأْتُوا مِنْهُ مَا اسْتَطَعْتُمْ