Tosefta for Maasrot 2:3
הַמַּעֲלֶה פֵרוֹת מִן הַגָּלִיל לִיהוּדָה, אוֹ עוֹלֶה לִירוּשָׁלַיִם, אוֹכֵל מֵהֶם עַד שֶׁהוּא מַגִּיעַ לְמָקוֹם שֶׁהוּא הוֹלֵךְ, וְכֵן בִּיהוּדָה. רַבִּי מֵאִיר אוֹמֵר, עַד שֶׁהוּא מַגִּיעַ לִמְקוֹם הַשְּׁבִיתָה. וְהָרוֹכְלִין הַמְּחַזְּרִין בָּעֲיָרוֹת, אוֹכְלִים עַד שֶׁמַּגִּיעִים לִמְקוֹם הַלִּינָה. רַבִּי יְהוּדָה אוֹמֵר, הַבַּיִת הָרִאשׁוֹן הוּא בֵיתוֹ:
If one brings produce from the Galilee to Judah or makes a pilgrimage [and brings produce] to Jerusalem, he may eat [of the produce] until he arrives at the place where he was going, and so too in returning. Rabbi Meir says, until he arrives at the place of stopping. And the merchants who peddle in the cities may eat until they arrive at the place of sleep. Rabbi Yehudah says, the first house [in the city where he will sleep should be considered as if] it is his house.