Avoid that which I forbid you to do and do that which I command you to do to the best of your capacity. Verily the people before you went to their doom because they had put too many questions to their Prophets and then disagreed with their teachings. (Using translation from Muslim 1337b)
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «إِنَّمَا أَهْلَكَ مَنْ كَانَ قَبْلَكُمْ سُؤَالُهُمْ وَاخْتِلَافُهُمْ عَلَى أَنْبِيَائِهِمْ فَإِذَا نَهَيْتُكُمْ عَنْ شَيْءٍ فَاجْتَنِبُوهُ وَإِذَا أَمَرْتُكُمْ بِأَمْرٍ فَأْتُوا مِنْهُ مَا اسْتَطَعْتُمْ»