He that passeth by, and meddleth with strife belonging not to him, is like one that taketh a dog by the ears.
Someone who gets involved in someone else's fight is like a person grabbing a dog's ears, causing trouble without being responsible for it.