地獄にも知る人
Meanings
1
you can make friends anywhere; acquaintances even in hell
Proverb meaning that no matter how difficult or unfamiliar the situation, you can find people you know or make new connections.
I got lost overseas, but by chance I met a Japanese person. This is what they mean by 'you can make friends anywhere.'