http://www.cttbusa.org/shurangama/shurangama23.asp
Even though one may have some wisdom and the manifestation of Chan samadhi, one is certain to enter demonic paths if one does not cut off lust. At best, one will be a demon king; on the average, one will be in the retinue of demons; at the lowest level, one will be a female demon
...
Even though one may have some wisdom and the manifestation of Chan samadhi, one is certain to enter the path of spirits if one does not cease killing. At best, a person will become a mighty ghost; on the average, one will become a flying yaksha, a ghost leader, or the like; at the lowest level, one will become an earth-bound rakshasa.
...
Even though one may have some wisdom and the manifestation of Chan samadhi, one is certain to enter a devious path if one does not cease stealing. At best, one will be an apparition; on the average, one will become a phantom; at the lowest level, one will be a devious person who is possessed by a mei ghost.