Wiktionary
my enemy's enemy is my friend
prov. (alternative form of the enemy of my enemy is my friend English)