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 to Solomon [We subjected] the wind, blowing forcefully, proceeding by his command toward the land which We had blessed. And We are ever, of all things, Knowing.
And to Solomon [We subjected] the wind - its morning [journey was that of] a month - and its afternoon [journey was that of] a month, and We made flow for him a spring of [liquid] copper. And among the jinn were those who worked for him by the permission of his Lord. And whoever deviated among them from Our command - We will make him taste of the punishment of the Blaze.