The Prophet (saas)'s warnings to those who denied him
those who denied the qur'an and the prophet (saas) placed a number of difficulties in his path, and tried to prevent him communicating his message, and, even to kill, arrest or exile him. yet, in every case, the prophet (saas) would explain to them the existence and power of allah, that he himself was a true messenger and that the qur'an was brought down as truth from our lord. he warned them of the punishment of the hereafter, too. even after the prophet (saas) has been victorious, he still did not oppress the deniers, did not force the religion upon anyone, but said rather that everyone was free to believe as he wished.
some of the verses on the subject are:
if they deny you, say, "i have my actions and you have your actions. you are not responsible for what i do and i am not responsible for what you do." (surah yunus: 41)
say: "it is revealed to me that your god is one god. so are you muslims?" if they turn their backs, then say: "i have informed all of you equally and i do not know if what you have been promised is near or far. he knows what is said openly and he knows what you hide. for all i know it might be a trial for you and you will have enjoyment for a time." say: "lord, judge with truth! our lord is the all-merciful, the one whose help is sought in the face of what you describe." (surat al-anbiya': 108-112)
say: "my people, do as you are doing, just as i am doing. you will certainly come to know who will have the best home in the end. the wrongdoers will certainly not be successful." (surat al-an'am: 135)
they will not help you in any way against allah. the wrongdoers are protectors of one another but allah is the protector of those who do their duty.
(surat al-jathiya: 19)