Eruvin8: 5
הַמַּנִּיחַ בֵּיתוֹ וְהָלַךְ לִשְׁבֹּת בְּעִיר אַחֶרֶת, אֶחָד נָכְרִי וְאֶחָד יִשְׂרָאֵל, הֲרֵי זֶה אוֹסֵר — דִּבְרֵי רַבִּי מֵאִיר. רַבִּי יְהוּדָה אוֹמֵר: אֵינוֹ אוֹסֵר. רַבִּי יוֹסֵי אוֹמֵר: נָכְרִי אוֹסֵר, יִשְׂרָאֵל אֵינוֹ אוֹסֵר, שֶׁאֵין דֶּרֶךְ יִשְׂרָאֵל לָבוֹא בְשַׁבָּת. רַבִּי שִׁמְעוֹן אוֹמֵר: אֲפִלּוּ הִנִּיחַ בֵּיתוֹ וְהָלַךְ לִשְׁבֹּת אֵצֶל בִּתּוֹ בְאוֹתָהּ הָעִיר אֵינוֹ אוֹסֵר, שֶׁכְּבָר הִסִּיעַ מִלִּבּוֹ.
One who left his house and went to spend the Sabbath in another town, whether a gentile or a Jew, restricts — [these are] the words of R’ Meir. R’ Yehudah says: He does not restrict. R’ Yose says: A gentile restricts, a Jew does not restrict, for it is un-usual for a Jew to return on the Sabbath. R’ Shimon says: Even one who left his house and went to spend the Sabbath at his daughter’s [house] in the same town does not restrict, for he has already dismissed [any thought of returning] from his mind.