Andromeda (2000)
S5E17 Totaled Recall
After an explosion, Dylan finds himself trapped in a strange inter-dimensional loop. There, he encounters a mysterious figure named Elysian, who challenges him to solve a riddle to escape his bizarre predicament.