Дварим 24:22 Галаха: Mishneh Torah, Leavened and Unleavened Bread

וְזָ֣כַרְתָּ֔ כִּי־עֶ֥בֶד הָיִ֖יתָ בְּאֶ֣רֶץ מִצְרָ֑יִם עַל־כֵּ֞ן אָנֹכִ֤י מְצַוְּךָ֙ לַעֲשׂ֔וֹת אֶת־הַדָּבָ֖ר הַזֶּֽה׃ (ס)

И помни, что ты был рабом в земле Египетской; поэтому я приказываю тебе сделать это.

Mishneh Torah, Leavened and Unleavened Bread

In every generation, one must show himself as if he personally had come out from the subjugation of Egypt; as it is stated (Deuteronomy 6:23), "And He took us out from there, etc." And regarding this, the Holy One, blessed be He, commanded in the Torah (Deut. 5:15, 15:15, 24:22), "Remember that you were a slave" - meaning to say, as if you yourself had been a slave, came out to freedom, and were redeemed.