O believers! Obey Allah and obey the Messenger and those in authority among you. Should you disagree on anything, then refer it to Allah and His Messenger, if you (truly) believe in Allah and the Last Day. This is the best and fairest resolution.

[Qur'an 4:59]