Star Trek: Voyager - Season 4 Episode 13 Waking Moments Charting the new frontier
Overview: Stardate: 51471.3. The crew is 'attacked' by a species of alien that live in the human dream state. It is up to Chakotay, with extensive knowledge about the dream state, to save the ship and its crew.