Luther's Commentary on Genesis contains a passage which concludes that "the soul does not sleep (anima non sic dormit), but wakes (sed vigilat) and experiences visions".
Where did Luther say that the soul doesn't sleep, but rather has visions?
Commentary on Genesis