Answer:
Realistly, the lava will instantly be cooled off given that space is cold. The lava will instantly become a solid rock
Step-by-step explanation:
Hopefully this explains it all, I'm not an scientist or an astronomer. Just an 8 grader. :D. I might be wrong.
Cheers,