No, hate speech almost always causes violence in some way, and should be treated as a potential threat of harm
The speech itself is not being prosecuted, because if you spout hate speech and then do something bad, that speech is then permissible to be used as evidence of motivation in a court of law.