The legality of spying on someone's WhatsApp messages without their consent varies depending on your location and the circumstances. Generally, it is illegal to invade someone's privacy without their permission. However, parents may be allowed to monitor their children's messages for safety reasons. Make sure to research local laws and regulations before proceeding.