The Shulchan Aruch · Orach Chayim
אורח חיים רמ״חOrach Chayim 248
Siman 248 of 697 in Orach Chayim — 4 se'ifim
הלכות שבתLaws of Shabbat· siman 248
Se’if 1א׳
מֻתָּר לְהַפְלִיג בִּסְפִינָה אֲפִלּוּ בְּעֶרֶב שַׁבָּת, אִם הוֹלֵךְ לִדְבַר מִצְוָה; וּפוֹסֵק עִמּוֹ שֶׁיִּשְׁבֹּת, וְאִם אַחַר כָּךְ לֹא יִשְׁבֹּת אֵין בְּכָךְ כְּלוּם; אֲבָל לִדְבַר הָרְשׁוּת אֵין מַפְלִיגִין בִּסְפִינָה פָּחוֹת מִג' יָמִים קֹדֶם הַשַּׁבָּת. הַגָּה: אֲבָל קֹדֶם שְׁלֹשָׁה יָמִים שָׁרֵי, אֲפִלּוּ בִּסְפִינָה שֶׁמּוֹשְׁכִים אוֹתָהּ עַל יְדֵי בְּהֵמוֹת, וַאֲפִלּוּ אֵין בְּגֹבַהּ הַמַּיִם י' טְפָחִים (מַהֲרִי"ק שֹׁרֶשׁ מ"ה) וַאֲפִלּוּ בְּמָקוֹם שֶׁיִּצְטָרֵךְ הַיִּשְׂרָאֵל לַעֲשׂוֹת אַחַר כָּךְ מְלָאכָה בְּשַׁבָּת לְהוֹלִיךְ הַסְּפִינָה (ריב"ש סִימָן קנ"ב). וְאִם הוּא דֶּרֶךְ מוּעָט, כְּמוֹ מִצֹּר לְצִידוֹן שֶׁאֵין בֵּינֵיהֶם כִּי אִם מַהֲלַךְ יוֹם אֶחָד, מֻתָּר לְהַפְלִיג בְּעֶרֶב שַׁבָּת בַּבֹּקֶר, מִפְּנֵי שֶׁאֶפְשָׁר שֶׁיַּגִּיעַ שָׁם קֹדֶם הַשַּׁבָּת; וּמָקוֹם שֶׁנָּהֲגוּ שֶׁלֹּא לְהַפְלִיג בְּעֶרֶב שַׁבָּת כְּלָל, אֲפִלּוּ דֶּרֶךְ מוּעָט, אֵין מַפְלִיגִין.
1. It is permitted to commence a sea voyage, even on a Friday, if he is traveling for the purpose of a Mitzvah. He must agree [with the captain] to stop on Shabbat; if he subsequently [breaks this agreement] and does not stop it does not matter. For personal reasons (i.e. not for a Mitzvah) one may not commence the journey within three days of Shabbat. Rema: However, more than three days before [Shabbat] it is permitted, even in ships that will be dragged by animals and even if the depth of the water is less than ten hand breaths [Mahari"k]; even if a Jew will then be required to do a Melacha on Shabbat in order to steer the boat. [Rivash] If it a short journey, e.g. from Tyre to Sidon which is just one day's journey, one may commence travel on a Friday morning, since it is possible to arrive at the destination before Shabbat. In places where it is customary not to commence journeys on Friday at all, even short journeys, it is forbidden to do so.
Se’if 2ב׳
הָא דְּאֵין מַפְלִיגִין בִּסְפִינָה בְּפָחוֹת מִשִּׁלֹשָׁה יָמִים קֹדֶם הַשַּׁבָּת, הַטַּעַם מִשּׁוּם עֹנֶג שַׁבָּת, שֶׁכָּל שְׁלֹשָׁה יָמִים הָרִאשׁוֹנִים יֵשׁ לָהֶם צַעַר וּבִלְבּוּל; וְדַוְקָא לְמַפְלִיגִים בַּיַּמִּים הַמְּלוּחִים, אֲבָל בִּנְהָרוֹת אֵין שׁוּם צַעַר לַמַּפְלִיגִים בָּהֶם, וּלְפִיכָךְ מֻתָּר לְהַפְלִיג בָּהֶם אֲפִלּוּ בְּעֶרֶב שַׁבָּת, וְהוּא שֶׁלֹּא יְהֵא יָדוּעַ לָנוּ שֶׁאֵין בְּעָמְקָם עֲשָׂרָה טְפָחִים, אֲבָל בְּמָקוֹם שֶׁיָּדוּעַ לָנוּ שֶׁמִּקַּרְקַע הַסְפִינָה לְקַרְקַע הַנָּהָר פָּחוֹת מֵעֲשָׂרָה טְפָחִים, אָסוּר לָצֵאת חוּץ לַתְּחוּם מִשּׁוּם אִסוּר תְּחוּמִין. הַגָּה: וְכֵן בִּסְפִינָה שֶׁיִּצְטָרֵךְ הַיִּשְׂרָאֵל לָבֹא לִידֵי מְלָאכָה בְּשַׁבָּת, אָסוּר לִכָּנֵס בָּהּ שְׁלֹשָׁה יָמִים קֹדֶם הַשַּׁבָּת, אֲפִלּוּ הֵם נְהָרוֹת הַנּוֹבְעִים וְהִיא לְמַעְלָה מֵעֲשָׂרָה (ריב"ש סִימָן קנ"ב מַהֲרִי"ק), אֲבָל אֵין אִסּוּר בְּמַה שֶּׁהַבְּהֵמוֹת מוֹשְׁכוֹת הַסְּפִינָה בִּשְׂפַת הַנָּהָר, וְלֹא דָּמִי לַהֲלִיכָה בְּקָרוֹן שֶׁאָסוּר.
The reason it is forbidden to commence a journey within three days of Shabbat is because of the enjoyment of Shabbat, since for the first three days travelers suffer discomfort and confusion. This only applies to sea voyages; travel in rivers do not cause any pain and it is therefore permitted to commence such a journey even on a Friday. This is only if we are not aware that the depth of the waters is less ten hand breaths; in places where we know that from the bottom of the boat to the bottom of the river the distance is less than ten hand breaths it is forbidden ''to travel outside of the Techum'' because of the prohibition of Techum. Rema: Likewise in a ship where a Jew will have to perform Melacha on Shabbat one should not enter three days before Shabbat, even if they are flowing rivers and the ship is above ten hand breaths. (Rivash; Mahari"k) There is no prohibition, however, if animals have to drag the boat from the bank of the river and it is not the same as traveling in a wagon, which is forbidden.'
Se’if 3ג׳
הֵיכָא דְּמֻתָּר לְהַפְלִיג מֵעֶרֶב שַׁבָּת, אִם נִכְנַס בִּסְפִינָה מֵעֶרֶב שַׁבָּת וְקָנָה בָּהּ שְׁבִיתָה, אַף עַל פִּי שֶׁמַּפְלֶגֶת בְּשַׁבָּת, מֻתָּר וְהוּא שֶׁלֹּא יֵצֵא מֵהַסְפִינָה מֵעֵת שֶׁקָּנָה שְׁבִיתָה. הַגָּה: וְיֵשׁ אוֹמְרִים דַּאֲפִלּוּ יָצָא מִן הַסְּפִינָה, שָׁרֵי, דְּמֵאַחַר שֶׁקָּנָה בָּהּ שְׁבִיתָה מֵעֶרֶב שַׁבָּת מֻתָּר אַחַר כָּךְ לִכָּנֵס בָּהּ בְּשַׁבָּת וּלְהַפְלִיג. יֵשׁ שֶׁעוֹשִׂין קִדּוּשׁ בַּסְּפִינָה, וְאַחַר כָּךְ חוֹזְרִים לְבֵיתָם וְלָנִים שָׁם, וּלְמָחָר חוֹזְרִין לַסְּפִינָה וּמַפְלִיגִין, וְכֵן נָהֲגוּ בִּקְצָת מְקוֹמוֹת וְאֵין לִמְחוֹת (רַ"ן פ"ק דְּשַׁבָּת וְריב"ש סִימָן י"ז קט"ו קנ"ב) וְעַיֵּן לְקַמָּן סִימָן של"ט וְת"ד.
This - that it is permitted to commence a sea voyage on Erev Shabbat if he established it as his place for Shabbos on Friday evening, (i.e., he was on the ship from the beginning of bein hashamashos until nightfall), even if he travels on Shabbat itself - is permitted. This is so only if he does not leave the ship from the time he established it as his place (for Shabbat). Rema: There are those who say that even if he leaves the ship it is permitted. And after he established the ship as his place from Erev Shabbat, it is permitted to enter into the ship on Shabbat and commence his voyage. And there are those who say that one makes Kiddush on the ship and then afterwards they may return to their houses and sleep there. The next day they return to the ship and begin to travel. This is the custom in a few places and we do not object (R"an; Rivash). See Siman 339.
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0