Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 688…
“ If they intended to return only after the time of the reading, they read with the people of the place where they are currently. Rem"a: And if one is in the desert or on a boat, one reads on the 14th like the rest of the world (Kol Bo) . סעיף הבן עיר שהלך לכרך או בן כרך שהלך לעיר אם היה דעתו לחזור למקומו בזמן קריאה ונתעכב ולא חזר קורא כמקומו ואם לא היה בדעתו לחזור אלא לאחר זמן הקריאה קורא עם אנשי המקום שהוא שם: הגה ואם הוא במדבר או בספינה קורא ביום י"ד כמו רוב העולם [כל בו] : 688:6 If the 15th falls on Shabbat, we do not read the Megillah on Shabbat. ”
