Jinn are beings who are created, like human beings, to worship Allah, but are created out of fire, unlike man who is created from dust (Surat adh-Dhariyat: 56, Surat al-Hijr: 27). Allah sends messengers to the jinn, too, in order to make them believe (Surat al-An'am: 130). There are believers and disbelievers among them. Allah relates this fact about the jinn in the Qur'an as follows:
[A band of the jinn said:] "Some of us are Muslims and some are deviators. Those who have become Muslim are those who sought right guidance." (Surat al-Jinn: 14)
Besides this, among them are those who oppose the prophets, like their human counterparts:
In this way We have appointed as enemies to every Prophet satans from both mankind and from the jinn… (Surat al-An'am: 112)
Consequently the jinn, just like people, will be fully paid in the Hereafter for what they do. Those who believe in Allah, and pay heed to the warnings of the prophets will be repaid for their deeds and will not be wronged. On the other hand, jinn who disbelieve will be thrown into Hell together with disbelieving people. Allah has related this fact in the Qur'an as follows:
We created many of the jinn and mankind for Hell. They have hearts they do not understand with. They have eyes they do not see with. They have ears they do not hear with. Such people are like cattle. No, they are even further astray! They are the unaware. (Surat al-A'raf: 179)