No, it is absolutely illegal to check someone's phone without taking their consent unless you have the warrant to do so.