In the portion of Islamic prayer known as Tashahhud, Muslims recite the following prayer in Arabic.
Al-Tahiyyaatu Lillaahi wa’l-salawaatu wa’l-tayyibaat. Al-salaamu ‘alayka ayyuha’l-Nabiyyu wa rahmat-Allaahi wa barakaatuhu. Al-salaamu ‘alaynaa wa ‘ala ‘ibaad-illaah il-saaliheen. Ash-hadu an laa ilaaha ill-Allaah wa ash-hadu anna Muhammadan ‘abduhu wa rasooluh. [source: islamqa.info]
What does it mean?
“All compliments, prayers and pure words are due to Allaah. Peace be upon you, O Prophet, and the mercy of Allaah and His blessings. Peace be upon us and upon the righteous slaves of Allaah. I bear witness that there is no god except Allaah and I bear witness that Muhammad is His slave and Messenger.” [source: islamqa.info]
Take note that in this prayer Muslims are addressing Muhammad directly! They are not only praying to Allah but they are speaking also to Muhammad when they say, “PEACE BE UPON YOU O PROPHET…”
This part of the prayer is very clearly spoken to Muhammad, not to Allah.
Some Muslims respond by saying the prayer is to Allah on behalf of Muhammad. That is false. If the prayer was to Allah, Muslims would say, “O Allah YOUR peace be upon the prophet…”
Can Muhammad hear you Muslims? Can he hear and see a billion Muslims addressing him in their prayers? That would make him omniscient too.

Anyway, what are you doing addressing one who is dead?
Does that mean you can also talk to Adam, Ibrahim, Musa and Daud? And why stop there?
Whether Muslims realize it or not, their prayer is being directed to Muhammad, who is dead and Allah. That makes Muhammad a partner of Allah.
One final thought on speaking to the dead. Muhammad instructed his followers to say “Assalamu ‘alaikum, ya Ahl al quboor!” – “Peace be upon you, O people of the graves”, whenever you enter or are near a cemetery.
This is startling evidence from the mouth of the prophet himself that Muslims do actually communicate with the dead.
Here is what the Bible says about this.
“Let no one be found among you who … practices divination or sorcery, interprets omens, engages in witchcraft, or casts spells, or who is a medium or spiritist or who CONSULTS THE DEAD. Anyone who does these things is DETESTABLE to the LORD, and because of these detestable practices the LORD your God will drive out those nations before you. You must be blameless before the LORD your God.” (Deuteronomy 18:10-13)
Xtians do the exact, same thing. They pray to their FICTICIOUS middleman; Jesus. The xtian tack-on Bible (NT), is very clear: “Nobody can come to The Father (God),unless it be through Jesus”.
Judaism has no middleman to pray to. It is God alone, that we pray to & worship.
David Joshua,
In the book of Daniel 7:13-14, who is that Son of Man that will be worshipped by people of every nation and tongue, and whose kingdom will have no end?
Daniel 7:13-14
“I saw One like the Son of Man, coming with the clouds of heaven.
He approached the Ancient of Days and was led into His presence.
And He was given dominion, glory, and kingship, that the people
of every nation and language should serve Him.
His dominion is an everlasting dominion that will not pass away,
and His kingdom is one that will never be destroyed.”