O you who have believed , obey Allah and obey the Messenger and those in authority among you . And if you disagree over anything , refer it to Allah and the Messenger , if you should believe in Allah and the Last Day .