We have sent thee Inspiration, as We sent it to Noah and the Messengers after him: We sent Inspiration to Abraham, Isma’il, Isaac, Jacob and the Tribes, to Jesus, Job, Jonah, Aaron, and Solomon, and to David We gave The Psalms. Qur’an 4:163

Before Muhammad (S.A.W), Allah had sent His Message to other people/generations through various Messengers. All the messengers were sent with the Message of Allah; having a double significance for those it is conveyed. It is to give good news and at the same time warn.

We only send the Messengers to give glad tidings and to give warnings: But the Unbelievers dispute with vain argument, in order therewith to weaken the truth, and they treat My Signs as a jest, as also the fact that they are warned! Qur’an 18:56

The consequence of bearing and conveying the Message of Allah is that, those who heed to the good news and the warnings will become successful. They will have nothing to fear. But, neither the Messenger, Muhammad (S.A.W) nor those he is to convey the Message to are to expect that it will be a smooth experience. It is not everyone that will receive or accept the Message. Indeed some will make jest of the Messenger, the Message or both. This was equally experienced by the Messengers that preceded Muhammad (S.A.W). Therefore, Muhammad (SAW) is not to consider himself immune from such rejection. However, Allah has promised to support His Messenger(s) (and those who believe). Thus, at the end of the day, they shall not fail. Success shall be theirs.

We will, without doubt, help Our Apostles and those who believe, (both) in this world’s life and on the Day when the Witnesses will stand forth. Qur’an 40:51