molten rock in the earth's crust
"Geologists drill deep into the volcano to collect samples of the superheated magma trapped beneath the surface before an eruption occurs."
The molten matter within the earth, the source of the material of lava flows, dikes of eruptive rocks, etc.
"Geologists drilled a deep core to sample the hot magma trapped beneath the volcano before it could breach the surface as lava."