The Prophet ﷺ said, "Whoever obeys me has obeyed Allah, and whoever disobeys me has disobeyed Allah. Whoever obeys the commander has obeyed me, and whoever disobeys the commander has disobeyed me."He did not mention, "and whoever disobeys the commander has disobeyed me."
و حدثنيه زهير بن حرب حدثنا ابن عيينة عن أبي الزناد بهذا الإسناد ولم يذكر ومن يعص الأمير فقد عصاني