"spirits of good and evil"
by cm

Genies were mythological spirits in Middle Eastern cultures.  They were defined as possessing free will, and being formed by Allah from smokeless fire (where humans were formed from earth).  The Arabic word is jinni or djinn.  They can be good or evil.  Satan (Iblis) is an extreme form of the latter.

In the Qur'an, sura 72 is named Djinn, and begins:

It hath been revealed to me that a company of Djinn listened...