birds of same feather flock together
Opposites attract
The saying is "Birds of a feather, flock together." I don't know who wrote it but it implies that people that have the same interests or likes, or feelings will gather together just as birds do....
it means if two people are the same they will spend more time toghter
it means friends that have something in common hang out most of the time