The objectors laugh at something that we do not believe in, nor in what they said in their question…. But we believe Allah created the Creations for (there is no god only Allah), not for Muhammad (peace be upon him); in Holy Quran we read these:
1- Allah the Almighty has created the heavens and the earth and whatever is between them, and for worshiping him; as Allah said: And We have not created the heavens and earth and that between them except in truth. And indeed, the Hour is coming; so forgive with gracious forgiveness. Al Hajr 85.
It is written in Maysar Interpretation: "We have not created the heavens and earth and that between them except in truth" indicates the perfection and the absolute power of its creator, and to worship nothing only Him without any partner. The Hour of Resurrection is certainly coming; and every soul will be fully compensated for what the soul did, so you the prophet forgive the polytheists, excuse them and ignore what they do.
And Allah saying: And We did not create the heaven and the earth and that between them aimlessly. That is the assumption of those who disbelieve, so woe to those who disbelieve from the Fire. Sad 27
2- Allah the Almighty revealed the Scriptures for (There is no god only Allah), and for monotheism, Allah said: O you who have believed, believe in Allah and His Messenger and the Book that He sent down upon His Messenger and the Scripture which He sent down before. And whoever disbelieves in Allah, His angels, His books, His messengers, and the Last Day has certainly gone far astray. Al Nisa 136
And said to his Prophet: Before, as guidance for the people. And He revealed the Qur'an. Indeed, those who disbelieve in the verses of Allah will have a severe punishment, and Allah is exalted in Might, the Owner of Retribution. Al Imran 4
3- Allah sent the Prophets for (There is no god only Allah), and for monotheism; Allah the Almighty said: And We certainly sent into every nation a messenger, [saying], "Worship Allah and avoid Taghut." And among them were those whom Allah guided, and among them were those upon whom error was [deservedly] decreed. So proceed through the earth and observe how was the end of the deniers. Al Nahl 36
The Prophet (Allah bless him and grant him peace) said: "The most excellent invocation is the invocation on the Day of Arafa, and the best of what I and the prophets before me have said, is 'There is no god but Allah, alone, without partner, to Him belongs sovereignty praise be to Him and He is over all things competent " narrated from Al Tirmithy in his Sunan number 3509.
4- Allah the Almighty created mankind and demons for (There is no god only Allah), worshiping him and monotheism; Allah said: "And I did not create the jinn and mankind except to worship Me". Al Tharyat 56. Ibn Abbas said: " for worshiping only him, monotheism".
From the foregoing we know Allah did not create the Creation for Muhammad (Allah bless him and grant him peace) but for monotheism and worshiping Him as we mentioned -By the grace of Allah-