فَسَجَدُوا إِلَّا إِبْلِيسَ
So they prostrated, except Iblis. (Al-Baqarah 2:34)
An Arabic exception may mention someone linked to an addressed group through a shared setting or command, even when he is not of their species. Iblis was associated with the angels in worship and in the occasion of the command.
A connected exception is drawn from the same genus; a disconnected exception contrasts a related but different kind. Classical explanations also invoke rhetorical inclusion of the associated individual in the group. The particle illā alone cannot override the express designation of Iblis as a jinn.