I think genie is an anglicization of djinn
Re:When Beethoven Met Goethe
by colanderman on Thursday August 10, 2017 @06:56PM
(#14985131)
Djinn comes directly from Arabic, genie from Latin via French and Arabic influence. [1]
[1] https://en.wiktionary.org/wiki/genius#Latin