In one sutta Ven. Sariputta spoke about 5 types of people and how we can subdue hatred towards them.
Here is one example:
"And as for a person who is impure in his verbal behavior, but pure in his bodily behavior, how should one subdue hatred for him?
Just as when there is a pool overgrown with slime & water plants, and a person comes along, burning with heat, covered with sweat, exhausted, trembling, & thirsty. He would jump into the pool, part the slime & water plants with both hands, and then, cupping his hands, drink the water and go on his way. In the same way, when the individual is impure in his verbal behavior but pure in his bodily behavior, one should at that time pay no attention to the impurity of his verbal behavior, and instead pay attention to the purity of his bodily behavior. Thus the hatred for him should be subdued.