lava

Magma is found not only under the Earth's surface.

An excerpt from the article 14 facts about lava

It has also been found on other rocky planets (Mercury, Venus, Mars) and some natural satellites (moons).