Obedience to the Messenger is Obedience to the Qur’an!
Allah speaks through the messenger: “It belongs not to any person that Allah should speak to him, except by revelation, or from behind a veil, or that He should send a messenger…” (ash-Shûra  51).
Obedience to the messenger is obedience to Allah: “Whoever obeys the messenger obeys Allah…” (an-Nisa  80).
To obey the messengeris to obey the revelation/ Wahy:
• “Say:…I only follow what is revealed (wahy) to me…” (al-Anam  50; al-Ahqaf  9).
• “…Our Lord, why did You not send us a messenger so we could have followed Your verses and been among the believers…” (al-Qasas  47).
• “Therefore hold fast to that which has been revealed to you.” (az-Zukhruf  43; al-Ahzab  2; al-Araf  3).
We will only be taken into account about the Qur’an: “…You will soon be questioned about it (revelation).” (az-Zukhruf  44).
“Nor does he speak out of desire… He was taught by one Mighty in Power.” (an-Najm  3, 5).
According to the traditional understanding, obedience to the messenger is explained as obedience to the sunnah or narrations (ahadith). However, when the Qur’an is looked at holistically, obedience to the messenger is obedience to what he also has to obey. That is, obedience to the Qur’an.
Obedience is not to Muhammad, son of Abdullah, or to Muhammad the Nabi (Prophet), but to Muhammad the Rasul (Messenger) (al-Ahzab  36). The messenger cannot add or subtract anything from the message he brought (al-Haqqa  44-47).