Devarim / Deuteronomy 26:1
וְהָיָה כִּי־תָבוֹא אֶל־הָאָרֶץ אֲשֶׁר יְהוָה אֱלֹהֶיךָ נֹתֵן לְךָ נַחֲלָה וִירִשְׁתָּהּ וְיָשַׁבְתָּ בָּהּ׃
And it shall be, when you come into the land which the Eternal your Almighty gives you as an inheritance, and you possess it and dwell in it,
Pshat פְּשָׁט
When the mitzvah begins
Rashi: first fruits were brought only after the land was conquered and divided. Ibn Ezra: some mitzvot begin as soon as you come, and first fruits are among them. The Rosh: one who joined the Jewish people also brings the fruits, but does not read the words about "our fathers".
How Rashi, Ibn Ezra, and Rosh explain it
Remez רֶמֶז
Thirty righteous
Kitzur Ba'al HaTurim: just before this verse comes the command to blot out the memory of Amalek. Amalek wanted to keep the people from entering the land, so he is spoken of at the very entrance. And in the words "when you come" (כִּי תָבוֹא) he finds the number thirty and the forefathers: the Land of Israel always has thirty righteous people equal to the forefathers.
How Kitzur Ba'al HaTurim explain it
Drash דְּרָשׁ
Prayer instead of fruit
Midrash Tanchuma (Buber): Moshe (Moses) foresaw that the Temple would be destroyed and first fruits would stop. So he set three prayers a day, for prayer is dearer to the Almighty than a hundred good deeds. And Moshe himself prayed to enter the land.
How Midrash Tanchuma (Buber) explain it
Sod סוֹד
The soul enters the land
Agra DeKala: the Torah is eternal, so "when you come into the land" also speaks of the soul coming into an earthly body. If the soul mends its deeds through Torah and good deeds, the body becomes its inheritance and obeys it. If not, the soul will have to come again, into another body.
How Agra DeKala explain it