同じ釜の飯を食う(おなじかまのめしをくう)

Japanese vocabulary

Meaning: to live together; to be close friends; to eat out of the same pot

See it used in real works