Do they have iCloud turned on in iMessages? Just log in with the Apple ID on another apple device. If not, you’d have to back up the phone to iTunes, then restore it onto another similar apple device I guess (You’d have to have the Apple ID used).
I think this question can be taken wrongly (child predators, etc...) so I’d assume you’re going to get some interesting replies. Lol.