What type of rock contains lava or magma?

The type of rock that contains lava or magma is an igneous rock.