喧嘩するほど仲がいい(けんかするほどなかがいい)

Japanese vocabulary

Meaning: the more (people) fight, the closer they are; those who quarrel most are often the best of friends

See it used in real works