Yes, the Pledge of Allegiance of Muslims is only to God, the Creator of the Universe. Muslims have to say daily the Pledge in the language of the Qur’ān, i.e., Arabic. They have to recite it vocally individually and collectively. They may pronounce it verbally, privately, and silently too.
The Pledge goes as follows:
“Ashhadu Anla ilaha Illa Allah… Wa Ashhadu Anna Muhammadan RasooluAllah.”
“I bear witness that there is no one worthy of worship except God (Allah)… And I bear witness that Prophet Muhammad is the Messenger of God.”