"This is the ordinance of the Pesach; no stranger shall eat of it... "(Shmot/Exodus 12:43)
According to the Talmud (Shabbat 87a) this was the justification used by Moshe{Moses} to break the tablets of the ten commandments as a response to the sin of the Golden Calf
‘He broke the Tablets’: how did he learn [this]? He argued: If the Passover sacrifice, which is but one of the six hundred and thirteen precepts, yet the Torah said, there shall no alien eat thereof:11 here is the whole Torah, and the Israelites are apostates, how much more so!12 And how do we know that the Holy One, blessed be He, gave His approval? Because it is said, which thou brakest,13 and Resh Lakish interpreted this: All strength to thee14 that thou brakest it.
Footnotes
(11) Ex. XII, 43. ‘Alien’ is interpreted, one whose actions have alienated him from God, v. Targum Onkelos a.l.
(12) They are surely unfit to receive the Torah!
(13) Ibid. XXXIV, 1.
(14) Lit., ‘thy strength be well’, an expression of approval. For further notes V. Yeb., Sonc. ed., pp. 412ff.