Star Trek: Voyager (1995)
S1E7 Ex Post Facto
Stardate: Unknown. Tom Paris finds himself wrongfully accused of murder, insisting on his innocence. As punishment, he is forced to experience the final moments of his victim's life repeatedly every 14 hours via a memory transfer.