Prisoners of the Sun
A similar plot also features in "The Adventures of Tintin" comic "Prisoners of the Sun".