Parshas Yisro · Passuk 20:22
Chabad.org — English translation + Rashi
Torah Temimah points to Mechilta on the prohibition of hewn stones.
Sefaria — Exodus 20:22
Sefaria — Mechilta
English: “You shall not build them of hewn stones” — with it (the altar) you may not build of hewn stones, but you may build of hewn stones in the Sanctuary and in the Holy of Holies.
On the daf / in context: The prohibition of gazit is limited to the altar; it does not extend to the rest of the Temple structure.
Category B — Textual / lexical / linguistic method
Method — The derashah limits the prohibition of hewn stones to the altar itself, distinguishing it from the construction of the Sanctuary and the Holy of Holies.
Textual trigger — לֹא תִבְנֶה אֶתְהֶן גָּזִית.
Hewn stones are forbidden for the altar, but permitted for the rest of the Temple structure.