You shall obey God and you shall obey the messenger. If you turn away, then the sole mission of our messenger is to deliver the message.
وَأَطيعُوا اللَّهَ وَأَطيعُوا الرَّسولَ فَإِن تَوَلَّيتُم فَإِنَّما عَلىٰ رَسولِنَا البَلٰغُ المُبينُ
wa atee’ul laaha wa atee’ur Rasool; fa in tawallaitum fa innamaa ‘alaa Rasoolinal balaaghul mubeen