וּבְב֨וֹא עַם־הָאָ֜רֶץ לִפְנֵ֣י יְהוָה֮ בַּמּֽוֹעֲדִים֒ הַבָּ֡א דֶּרֶךְ־שַׁ֨עַר צָפ֜וֹן לְהִֽשְׁתַּחֲוֺ֗ת יֵצֵא֙ דֶּרֶךְ־שַׁ֣עַר נֶ֔גֶב וְהַבָּא֙ דֶּרֶךְ־שַׁ֣עַר נֶ֔גֶב יֵצֵ֖א דֶּרֶךְ־שַׁ֣עַר צָפ֑וֹנָה לֹ֣א יָשׁ֗וּב דֶּ֤רֶךְ הַשַּׁ֙עַר֙ אֲשֶׁר־בָּ֣א ב֔וֹ כִּ֥י נִכְח֖וֹ יצאו [יֵצֵֽא׃]
그러나 모든 정한 절기에 이 땅 거민이 나 여호와 앞에 나아올 때에는 북문으로 들어와서 경배하는 자는 남문으로 나가고 남문으로 들어오는 자는 북문으로 나갈지라 들어온 문으로 도로 나가지 말고 그 몸이 앞으로 향한 대로 나갈지며
Mishneh Torah, Prayer and the Priestly Blessing
One who entered a synagogue to pray or read Scripture may leave at the opposite door to that by which he entered, in order to take a short cut. A person may go into a synagogue with his staff, shoes, moneybelt and with dust on his feet. If he has need to do so, he may expectorate in the synagogue.