Created from fire, the jinn do not know the unseen any more than humans do, and like humans they cannot produce anything like the Quran. These verses mention the jinn made subject to Solomon and their extraordinary abilities, by Allah’s permission, the worship some associators gave them, and their reckoning on the Day of Resurrection.
Verses gathered from a topical index of the Quran, in Mushaf order; every verse is quoted in full.
And thus We have made for every prophet an enemy - devils from mankind and jinn, inspiring to one another decorative speech in delusion. But if your Lord had willed, they would not have done it, so leave them and that which they invent.