“The Savage Curtain”
Written by Gene Roddenberry and Arthur Heinemann
Directed by Herschel Daughtery
Season 3, Episode 22
Production episode 60043-77
Original air date: March 7, 1969
Captain’s log. The Enterprise is in orbit of a planet that is covered in molten lava and cannot support life—yet sensor readings are giving indications of life and a high level of civilization, which matches some legends about the world. But they can’t beam down to investigate further due to the conditions on the planet, so Kirk says that they’re moving on to their next assignment. (Why it never occurs to anyone to go down in a shuttlecraft to investigate is left as an exercise for the viewer.)
Just as they’re about to break orbit, the Enterprise is scanned so thoroughly it makes the lights dim, and then Abraham Lincoln appears on the viewer.