O you who believe ! obey Allah and obey the Apostle and those in authority from among you ; then if you quarrel about anything , refer it to Allah and the Apostle , if you believe in Allah and the last day ; this is better and very good in the end .