Guilt by Association

This fallacy is where a person is looked down on because of things done by a person or people that they're associated with even if that person didn't him/herself do those things.

Examples

 * If a member of a political party is caught in a bribery scandal and all members of that party were looked down on as corrupt because of that person even if they themselves haven't engaged in any illegal activity then this would be guilt by association.