An-Nisa 4:59
يَـٰٓأَيُّهَا ٱلَّذِينَ ءَامَنُوٓا۟ أَطِيعُوا۟ ٱللَّهَ وَأَطِيعُوا۟ ٱلرَّسُولَ وَأُو۟لِى ٱلْأَمْرِ مِنكُمْ ۖ فَإِن تَنَـٰزَعْتُمْ فِى شَىْءٍ فَرُدُّوهُ إِلَى ٱللَّهِ وَٱلرَّسُولِ إِن كُنتُمْ تُؤْمِنُونَ بِٱللَّهِ وَٱلْيَوْمِ ٱلْـَٔاخِرِ ۚ ذَٰلِكَ خَيْرٌ وَأَحْسَنُ تَأْوِيلًا
Ya ayyuha allatheena amanooateeAAoo Allaha waateeAAoo arrasoolawaolee al-amri minkum fa-in tanazaAAtum fee shay-infaruddoohu ila Allahi warrasooli in kuntumtu/minoona billahi walyawmi al-akhirithalika khayrun waahsanu ta/weela
O you who have believed, obey Allāh and obey the Messenger and those in authority among you. And if you disagree over anything, refer it to Allāh and the Messenger, if you should believe in Allāh and the Last Day. That is the best [way] and best in result.
O you who believe, obey Allah and obey the Messenger and those in authority among you. Then, if you quarrel about something, revert it back to Allah and the Messenger, if you believe in Allah and the Last Day. That is good, and the best at the end.