Shabbos11: 5
הַזּוֹרֵק מִן הַיָּם לַיַּבָּשָׁה, וּמִן הַיַּבָּשָׁה לַיָּם, וּמִן הַיָּם לַסְּפִינָה, וּמִן הַסְּפִינָה לַיָּם, וּמִן הַסְּפִינָה לַחֲבֶרְתָּהּ, פָּטוּר. סְפִינוֹת קְשׁוּרוֹת זוֹ בְזוֹ, מְטַלְטְלִין מִזּוֹ לְזוֹ. אִם אֵינָן קְשׁוּרוֹת, אַף־עַל־פִּי שֶׁמֻּקָּפוֹת, אֵין מְטַלְטְלִין מִזּוֹ לְזוֹ.
One who throws from the sea to the dry land, from the dry land to the sea, from the sea to the ship, from the ship to the sea, or from one ship to another, is exempt. If ships are tied together, we may move [things] from one to the other. If they are not tied [together], even though they are close to each other, we may not move [things] from one to the other.