Ezekiel 46:9

9 When the people of the land come into the LORD's presence for the festivals, those who enter through the north gate to worship should go out through the south, and those who come in through the south gate should go out through the north gate. They shouldn't turn around and go out the same way they came in. Instead, they should go out the opposite gate.