Also, the verse (al-Anaam, 6/130) “O ye assembly of Jinns and men! came there not unto you messengers from amongst you setting forth unto you My Signs, and warning you of the of the meeting of this day of yours?" shows that Jinn are also going to be questioned about prophets that were sent to them.
(69) Kuwa Dhawrsoonna Xisaabtooda waxba kaama Saarra Laakiin waa Waano inay Dhawrsadaan.