31 · מְנָחוֹת י״א:ב · Menachos 11:2
אֶחָד שְׁתֵּי הַלֶּחֶם וְאֶחָד לֶחֶם הַפָּנִים, לִישָׁתָן וַעֲרִיכָתָן בַּחוּץ, וַאֲפִיָּתָן בִּפְנִים, וְאֵינָן דּוֹחוֹת אֶת הַשַּׁבָּת.
רַבִּי יְהוּדָה אוֹמֵר, כָּל מַעֲשֵׂיהֶם בִּפְנִים.
רַבִּי שִׁמְעוֹן אוֹמֵר, לְעוֹלָם הֱוֵי רָגִיל לוֹמַר, שְׁתֵּי הַלֶּחֶם וְלֶחֶם הַפָּנִים כְּשֵׁרוֹת בָּעֲזָרָה, וּכְשֵׁרוֹת בְּבֵית פָּאגִי.
For both the two loaves and the Lechem HaPanim: kneading and shaping — outside [the Temple]; baking — inside; and they do not override Shabbos. R' Yehuda says: all their work is done inside. R' Shimon says: always accustom yourself to say — the two loaves and Lechem HaPanim are valid [baked] in the Azarah, and valid [baked] in Beis Pagi.
Green — Valid (R' Shimon)