The Rambam · Sefer Zemanim
הלכות שבת ג׳Sabbath 3
Chapter 3 of 30 in Sabbath — 22 halachot
Halacha 1א׳
מֻתָּר לְהַתְחִיל מְלָאכָה מֵעֶרֶב שַׁבָּת אַף עַל פִּי שֶׁהִיא נִגְמֶרֶת מֵאֵלֶיהָ בְּשַׁבָּת. שֶׁלֹּא נֶאֱסַר עָלֵינוּ לַעֲשׂוֹת מְלָאכָה אֶלָּא בְּעַצְמוֹ שֶׁל יוֹם. אֲבָל כְּשֶׁתֵּעָשֶׂה הַמְּלָאכָה מֵעַצְמָהּ בְּשַׁבָּת מֻתָּר לָנוּ לֵהָנוֹת בְּמַה שֶּׁנַּעֲשָׂה בְּשַׁבָּת מֵאֵלָיו:
It is permissible to start forbidden work from the eve of Shabbat, even though it is finished on its own on Shabbat; as we are only forbidden to do forbidden work on the day of Shabbat itself. But when the work is done by itself on Shabbat, it is permissible for us to benefit from that which was done on its own on Shabbat.
Halacha 2ב׳
כֵּיצַד. פּוֹתְקִין מַיִם לַגִּנָּה עֶרֶב שַׁבָּת עִם חֲשֵׁכָה וְהִיא מִתְמַלֵּאת וְהוֹלֶכֶת כָּל הַיּוֹם כֻּלּוֹ. וּמַנִּיחִין מֻגְמָר תַּחַת הַכֵּלִים וְהֵן מִתְגַּמְּרִין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וּמַנִּיחִים קִילוֹר עַל גַּב הָעַיִן וְאִסְפְּלָנִית עַל גַּבֵּי הַמַּכָּה וּמִתְרַפְּאִין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וְשׁוֹרִין דְּיוֹ וְסַמָּנִין עִם חֲשֵׁכָה וְהֵן שׁוֹרִין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וְנוֹתְנִין צֶמֶר לְיוּרָה וְאוּנִין שֶׁל פִּשְׁתָּן לַתַּנּוּר וְהֵם מִשְׁתַּנִּין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וּפוֹרְשִׂים מְצוּדוֹת לְחַיָּה וּלְעוֹפוֹת וּלְדָגִים עִם חֲשֵׁכָה וְהֵן נִצּוֹדִין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וְטוֹעֲנִין בְּקוֹרוֹת בֵּית הַבַּד וּבְעִגּוּלֵי הַגַּת עִם חֲשֵׁכָה וְהַמַּשְׁקִין זָבִין וְהוֹלְכִין כָּל הַשַּׁבָּת כֻּלָּהּ. וּמַדְלִיקִין אֶת הַנֵּר אוֹ אֶת הַמְּדוּרָה מִבָּעֶרֶב וְהִיא דּוֹלֶקֶת וְהוֹלֶכֶת כָּל הַשַּׁבָּת כֻּלָּהּ:
How is this? We open water channels to a garden on the eve of Shabbat, and it fills up and continues the whole entire day. And we place the mugmar (sweet smelling smoke) under the clothes and they give off the smell and continue the whole entire Shabbat. And we place an eye-salve on the eye and a bandage on a wound and [the wounds] are medicated and continue the whole entire Shabbat. And we soak dyes and ink with the twilight [before Shabbat] and they soak and continue the whole entire Shabbat. And we put wool in the cauldron and strands of flax into the oven and they are transformed and continue the whole entire Shabbat. And we spread nets for wild animals, birds and fish with the twilight and they are trapped and continue the whole entire Shabbat. And we load the beams of the olive press and the wheel of the winepress with the twilight and the liquids flow [from the olives and grapes] and continue the whole entire Shabbat. And we light the lamp or the bonfire from the eve and it is lit and continues the whole entire Shabbat.
Halacha 3ג׳
מַנִּיחִין קְדֵרָה עַל גַּבֵּי הָאֵשׁ אוֹ בָּשָׂר בַּתַּנּוּר אוֹ עַל גַּבֵּי גֶּחָלִים וְהֵן מִתְבַּשְּׁלִים וְהוֹלְכִין כָּל הַשַּׁבָּת וְאוֹכְלִין אוֹתָהּ בְּשַׁבָּת. וְיֵשׁ בְּדָבָר זֶה דְּבָרִים שֶׁהֵן אֲסוּרִין גְּזֵרָה שֶׁמָּא יַחְתֶּה בַּגֶּחָלִים בְּשַׁבָּת:
And we place a stewpot on top of the fire, or meat in the oven or on the coals, and they cook and continue the whole Shabbat and we eat it on Shabbat. But with this thing, there are things that are forbidden, [as a] decree lest he stoke the coals on Shabbat.
Mishneh Torah, Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Edition, tr. R. Francis Nataf, 2019 — CC BY