郷に入りては郷に従え

Etymology
Literally “entering the countryside, follow the custom [thereof].”

Proverb

 * 1) when in Rome, do as the Romans do