If all jinns and humans are ordered to worship Allah SWT then does Shahiatan(devil) also worship Allah? Please answer in the light of Quranic text?
All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
Satan is a disbeliever. He disobeyed Allah and did not worship Him.
Allah Says (what means):
• {And [mention] when We said to the angels, "Prostrate before Adam"; so they prostrated, except for Iblees. He refused and was arrogant and became of the disbelievers.} [Quran 2:34]
• {And [mention] when We said to the angels, "Prostrate to Adam," and they prostrated, except for Iblees. He was of the jinn and departed from the command of his Lord.} [Quran 18:50]
Know dear brother that among the jinn there are Muslims and disbelievers. Allah reported about the jinn that they said (what means): {And among us are the righteous, and among us are [others] not so; we were [of] divided ways.} [Quran 72:11]
Ibn ‘Abbaas and other scholars explained this verse by saying that there are Muslim and non-Muslim Jinn.
In fact, both Humans and jinn are ordered to worship Allah. So some of them believe in Allah and abide by His Orders while others refuse to believe in Allah and remain on their disbelief. The Head of this last group is the cursed Satan.
Allah knows best.
You can search for fatwa through many choices