No — rivalry is the better word. Sonic and Shadow are set up as opposites, so they clash almost every time they meet and rarely agree on anything.
Disliking each other in the moment is not the same as hatred, though, and the games have repeatedly shown them cooperating when the stakes demand it.