Obey Muhammad
O believers, obey Allah, obey the Messenger, and those in authority among you. If you dispute, refer it to Allah and His Messenger, if you truly believe in Allah and the Last Day. This is the best and fairest resolution.
4:59O ye who believe! Obey Allah, and obey the messenger and those of you who are in authority; and if ye have a dispute concerning any matter, refer it to Allah and the messenger if ye are (in truth) believers in Allah and the Last Day. That is better and more seemly in the end.