All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
The matter is quite simple; the obedience to the Prophet, sallallaahu ‘alayhi wa sallam, consists in obedience to Allaah The Exalted. He says (what means): {He who obeys the Messenger has obeyed Allaah; but those who turn away – We have not sent you over them as a guardian.} [Quran 4:80] We have previously underlined that fact in Fatwa 85555.
The genuine love for the Prophet, sallallaahu ‘alayhi wa sallam, is that translated into following his example; whoever follows him has loved him as due, as underlined in Fatwa 140020.
The Muslim is enjoined to carry out righteous deeds so as to earn the pleasure of Allaah. He says (what means): {And they were not commanded except to worship Allaah, [being] sincere to Him in religion, inclining to truth, and to establish prayer and to give Zakah. And that is the correct religion.} [Quran 98:5] He also says (what means): {No good is there in much of their private conversation, except for those who enjoin charity or that which is right or conciliation between people. And whoever does that seeking means to the approval of Allaah – then We are going to give him a great reward.} [Quran 4:114] As one abides by those teachings, he wins the pleasure of the Messenger of Allaah, sallallaahu ‘alayhi wa sallam, accordingly. Whatever pleases Allaah The Exalted pleases his Messenger, sallallaahu ‘alayhi wa sallam, for sure.
For further benefit, please refer to Fatwa ">85571.
Allaah Knows best.