סימן כג סעיף טז
וְכֵן מִי שֶׁדָּר בְּאֶרֶץ יִשְֹרָאֵל, שֶׁשָּׁם עוֹשִׂין יוֹם טוֹב רַק יוֹם אֶחָד (מִלְּבַד רֹאשׁ הַשָּׁנָה), וּבָא לְחוּץ לָאָרֶץ, וְהָיָה בְּבֵית הַכְּנֶסֶת בְּיוֹם שֵׁנִי שֶׁל יוֹם טוֹב, אֵין לִקְרֹת אוֹתוֹ לַעֲלוֹת לַתּוֹרָה, וְהַדִּין כְּמוֹ שֶׁכָּתַבְתִּי בַּסְּעִיף הַקּוֹדֵם.
Similarly, when one who resides in Eretz Yisrael, where Yom Tov is celebrated only one day, (with the exception of Rosh Hashanah) is visiting a foreign land, and is present in the synagogue on the second day of Yom Tov,34When it is a regular weekday for one residing in Eretz Yisrael (though in public he must act as on Yom Tov). he should not be called up to the Torah. The rules are as stated in the previous paragraph.35See Shearim Metzuyanim beHalachah 23:16 for a compilation of the various opinions regarding this situation.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)