A djinn (also called jinnee or genie) was a supernatural entity in Arabian mythology.
The myths of the djinn may have begun through contact with the alien species of the same name, one of which visited 9th century Sudan. (AUDIO: The Destroyer of Delights) In Baghdad of that era, Adoon believed that the Second Doctor was a djinn. (PROSE: Invasion of the Cat-People)
Aboo-Fenrán was believed by the people of 3rd century Constantinople to be a jinnee. (PROSE: The Curse of Fenric)
A group of Bedouins believed that an unnatural sandstorm was a djinn, but it was actually the creation of an alien camel. (COMIC: Sandblasted)
Djinn were among the creatures native to Hyspero. (PROSE: The Scarlet Empress)
When the Third Doctor produced an oil lamp for light after the TARDIS had been drained of energy, Sarah Jane Smith joked that he was going to rub it and produce a genie. (TV: Death to the Daleks)