Say, “”I am a man like you. It is communicated to me that your God is One God, so let him who hopes to meet his Fosterer, do righteous work and (let him) not associate anyone with his Fosterer in His service (worship).”” (R12)
Muhammed (PBH) was a human being. One who hopes to meet Allah (SWT) should be sure that there is only one God i.e. Allah (SWT). Therefore no one else should be associated with Him while serving or worshipping Him, all others are His slaves, with this belief he should act in accordance with the Quran and Hadees.