Nocturnal epilepsy.  The cultural paradigm for this included the belief that some evil spirit, demon or Satan himself would enter you body or depart and take your soul with him.  Native American Navajos, for a while, believed it was past family member possession (1970s medical journals); the cultural origin for this belief is uncertain.