Star Trek: Voyager - Season 1 Episode 7 Ex Post Facto Charting the new frontier
Overview: Stardate: Unknown. Tom Paris is accused of a murder he claims he did not commit. His sentence is to re-live the last few moments of his victim's life every 14 hours through a memory transplant.