Obeying The Prophet ﷺ is obeying Allāh

The Messenger of Allāh ﷺ said:

Whoever obeys me has obeyed Allāh, and whoever disobeys me has disobeyed Allāh. Whoever obeys the ruler I’ve appointed has obeyed me, and whoever disobeys him has disobeyed me.

— Narrated by Abū Hurayah رضي الله عنه

Dalīl: Ṣaḥīḥ al-Bukhārī #7131, Ṣaḥīḥ Muslim #1835, Sunan an-Nasā’ī #4193, Sunan ibn Mājah #3, Musnad Aḥmad 2/252

Ḥukm: Muttafaqun AlayhṢaḥīḥ to both Imām al-Bukhārī and Imām Muslim