"The Messenger of Allah said: 'Whoever obeys me, obeys Allah, and whoever disobeys me, disobeys Allah. Whoever obeys my governor (Amir), he has obeyed me, and whoever disobeys my governor, he has disobeyed me."' (Using translation from Nasāʾī 4193)
وَقَالَ رَسُولُ اللهِ ﷺ مَنْ أَطَاعَنِي فَقَدْ أَطَاعَ اللهَ وَمَنْ يَعْصِينِي فَقَدْ عَصَى اللهَ وَمَنْ يُطِعِ الْأَمِيرَ فَقَدْ أَطَاعَنِيوَمَنْ يَعْصِ الْأَمِيرَ فَقَدْ عَصَانِي