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 when We decreed for him [i.e., Solomon] death, nothing indicated to them [i.e., the jinn] his death except a creature of the earth eating his staff. But when he fell, it became clear to the jinn that if they had known the unseen, they would not have remained in humiliating punishment.