A Muslim must follow only what God has revealed. And the Messengers and Prophets bring down only what was given to them to share with mankind, period. A messenger does not bring anything else that is outside of what was given to him by Allah. The Messengers themselves must follow and obey those instructions, and if they disobey, they will be punished just like any other person. See (69:44-46). The problem is that almost ALL men on earth, do not value God as He should be valued and they shirk their Creator with His messengers, such as Jesus, Muhammad or some other Saints. The Devil promised God that he will mislead all mankind, and he certainly succeeded in doing that today, just look at the world! The death, the hate, the destruction, the division, the disasters, and evil everywhere.
Then we inspired you (Muhammad) to follow the religion of Abraham, the monotheist; he never was an idol worshiper. 16:123
ثُمَّ أَوْحَيْنَا إِلَيْكَ أَنِ اتَّبِعْ مِلَّةَ إِبْرَاهِيمَ حَنِيفًا ۖ وَمَا كَانَ مِنَ الْمُشْرِكِينَ
O you who believe, you shall embrace total submission; do not follow the steps of Satan, for he is your most ardent enemy. 2:208
يَا أَيُّهَا الَّذِينَ آمَنُوا ادْخُلُوا فِي السِّلْمِ كَافَّةً وَلَا تَتَّبِعُوا خُطُوَاتِ الشَّيْطَانِ ۚ إِنَّهُ لَكُمْ عَدُوٌّ مُّبِينٌ
O people, eat from the earth's products all that is lawful and good, and do not follow the steps of Satan; he is your most ardent enemy. 2:168
يَا أَيُّهَا النَّاسُ كُلُوا مِمَّا فِي الْأَرْضِ حَلَالًا طَيِّبًا وَلَا تَتَّبِعُوا خُطُوَاتِ الشَّيْطَانِ ۚ إِنَّهُ لَكُمْ عَدُوٌّ مُّبِينٌ
Eat from GOD's provisions to you, and do not follow the steps of Satan; he is your most ardent enemy. 6:142
وَمِنَ الْأَنْعَامِ حَمُولَةً وَفَرْشًا ۚ كُلُوا مِمَّا رَزَقَكُمُ اللَّهُ وَلَا تَتَّبِعُوا خُطُوَاتِ الشَّيْطَانِ ۚ إِنَّهُ لَكُمْ عَدُوٌّ مُّبِينٌ
You shall all follow what is revealed to you from your Lord; do not follow any idols(Prophets, Messengers, Saints, Ulema, etc.) besides Him. Rarely do you take heed. 7:3
اتَّبِعُوا مَا أُنزِلَ إِلَيْكُم مِّن رَّبِّكُمْ وَلَا تَتَّبِعُوا مِن دُونِهِ أَوْلِيَاءَ ۗ قَلِيلًا مَّا تَذَكَّرُونَ
O you who believe, do not follow the steps of Satan. Anyone who follows the steps of Satan, should know that he advocates evil and vice. If it were not for GOD's grace towards you, and His mercy, none of you would have been purified. But GOD purifies whomever He wills. GOD is Hearer, Knower. 24:21
يَا أَيُّهَا الَّذِينَ آمَنُوا لَا تَتَّبِعُوا خُطُوَاتِ الشَّيْطَانِ ۚ وَمَن يَتَّبِعْ خُطُوَاتِ الشَّيْطَانِ فَإِنَّهُ يَأْمُرُ بِالْفَحْشَاءِ وَالْمُنكَرِ ۚ وَلَوْلَا فَضْلُ اللَّهِ عَلَيْكُمْ وَرَحْمَتُهُ مَا زَكَىٰ مِنكُم مِّنْ أَحَدٍ أَبَدًا وَلَٰكِنَّ اللَّهَ يُزَكِّي مَن يَشَاءُ ۗ وَاللَّهُ سَمِيعٌ عَلِيمٌ