Sahih Muslim
Sahih Muslim 1835c
وَحَدَّثَنِي حَرْمَلَةُ بْنُ يَحْيَى، أَخْبَرَنَا ابْنُ وَهْبٍ، أَخْبَرَنِي يُونُسُ، عَنِ ابْنِ شِهَابٍ، أَخْبَرَهُ قَالَ حَدَّثَنَا أَبُو سَلَمَةَ بْنُ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم أَنَّهُ قَالَ " مَنْ أَطَاعَنِي فَقَدْ أَطَاعَ اللَّهَ وَمَنْ عَصَانِي فَقَدْ عَصَى اللَّهَ وَمَنْ أَطَاعَ أَمِيرِي فَقَدْ أَطَاعَنِي وَمَنْ عَصَى أَمِيرِي فَقَدْ عَصَانِي " .
Harmalah ibn Yahya narrated to me; Ibn Wahb informed us; Yunus informed me, from Ibn Shihab, who informed him. Abu Salamah ibn Abd al-Rahman narrated to us, from Abu Hurayrah, from the Messenger of Allah, peace and blessings be upon him, that he said: “Whoever obeys me has obeyed Allah, and whoever disobeys me has disobeyed Allah. Whoever obeys my commander has obeyed me, and whoever disobeys my commander has disobeyed me.”