Astronauts on the International Space Station see flashes with their eyes closed as cosmic rays pass through the eye and turn space radiation into brief sparks of light
NASA has documented cosmic-ray flashes seen by astronauts in orbit, a strange spaceflight experience that begins with invisible particles and ends as sudden light inside the human visual system. The flashes can appear when an astronaut is in darkness or trying to sleep, even with closed eyes.
Source: argo.net