The Twilight Zone - Season 1 Episode 32 The Star
Overview: Onboard a spaceship an astrophysicist and a priest learn they have discovered a planet long dead and a transmitter emitting a signal for eons. They discover that the planet holds the last remains of a civilization, which died when their star went supernova.