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)
قَالَ رَسُولُ اللهِ ﷺ ذَرُونِي مَا تَرَكْتُكُمْ فَإِنَّمَا أَهْلَكَ الَّذِينَ مِنْ قَبْلِكُمْ كَثْرَةُ سُؤَالِهِمْ وَاخْتِلَافُهُمْ عَلَى أَنْبِيَائِهِمْ وَلَكِنْ مَا نَهَيْتُكُمْ عَنْهُ فَانْتَهُوا وَمَا أَمَرْتُكُمْ بِهِ فَأْتُوا مِنْهُ مَا اسْتَطَعْتُمْ