遠くの親戚より近くの他人(とおくのしんせきよりちかくのたにん)

Japanese vocabulary

Meaning: a neighbour is better than a relative living far

See it used in real works