Stalking
A haram is determined when something unethical or immoral is involved. If the purpose is malicious, for example, to disrupt a person by finding some fault in him, it is haram, but if it is to save the public or the State from potential harm from a suspicious person, it is allowed, rather, necessary.