Obey Allah and obey the Messenger ( Muhammad SAW ) , and those of you ( Muslims ) who are in authority . ( And ) if you differ in anything amongst yourselves , refer it to Allah and His Messenger ( SAW ) , if you believe in Allah and in the Last Day .