拉齐
The Ismailite Philosopher Nasir Khusraw conjectured that evil human souls turn into demons, when their bodies die, because of their intense attachment to the bodily world. They were worse than the jinn and fairies, who in turn could become devils, if they pursue evil. A similar thought is recorded by Muhammad ibn Zakariya al-Razi.