M 1-42 is a planetary nebula located in the constellation of Sagittarius, 10 000 light-years away from Earth.