39 Melachot
(ח) זָכ֛וֹר֩ אֶת־י֥֨וֹם הַשַּׁבָּ֖֜ת לְקַדְּשֽׁ֗וֹ (ט) שֵׁ֤֣שֶׁת יָמִ֣ים֙ תַּֽעֲבֹ֔ד֮ וְעָשִׂ֖֣יתָ כָּל־מְלַאכְתֶּֽךָ֒ (י) וְי֙וֹם֙ הַשְּׁבִיעִ֔֜י שַׁבָּ֖֣ת ׀ לַיהוָ֣ה אֱלֹהֶ֑֗יךָ לֹֽ֣א־תַעֲשֶׂ֣֨ה כָל־מְלָאכָ֡֜ה אַתָּ֣ה ׀ וּבִנְךָֽ֣־וּ֠בִתֶּ֗ךָ עַבְדְּךָ֤֨ וַאֲמָֽתְךָ֜֙ וּבְהֶמְתֶּ֔֗ךָ וְגֵרְךָ֖֙ אֲשֶׁ֥֣ר בִּשְׁעָרֶֽ֔יךָ (יא) כִּ֣י שֵֽׁשֶׁת־יָמִים֩ עָשָׂ֨ה יְהוָ֜ה אֶת־הַשָּׁמַ֣יִם וְאֶת־הָאָ֗רֶץ אֶת־הַיָּם֙ וְאֶת־כָּל־אֲשֶׁר־בָּ֔ם וַיָּ֖נַח בַּיּ֣וֹם הַשְּׁבִיעִ֑י עַל־כֵּ֗ן בֵּרַ֧ךְ יְהוָ֛ה אֶת־י֥וֹם הַשַּׁבָּ֖ת וַֽיְקַדְּשֵֽׁהוּ׃ (ס) (יב) כַּבֵּ֥ד אֶת־אָבִ֖יךָ וְאֶת־אִמֶּ֑ךָ לְמַ֙עַן֙ יַאֲרִכ֣וּן יָמֶ֔יךָ עַ֚ל הָאֲדָמָ֔ה אֲשֶׁר־יְהוָ֥ה אֱלֹהֶ֖יךָ נֹתֵ֥ן לָֽךְ׃ (ס)
(8) Remember the sabbath day and keep it holy. (9) Six days you shall labor and do all your work, (10) but the seventh day is a sabbath of the LORD your God: you shall not do any work—you, your son or daughter, your male or female slave, or your cattle, or the stranger who is within your settlements. (11) For in six days the LORD made heaven and earth and sea, and all that is in them, and He rested on the seventh day; therefore the LORD blessed the sabbath day and hallowed it. (12) Honor your father and your mother, that you may long endure on the land that the LORD your God is assigning to you.
(יב) שָׁמ֣֛וֹר אֶת־י֥וֹם֩ הַשַׁבָּ֖֨ת לְקַדְּשׁ֑֜וֹ כַּאֲשֶׁ֥ר צִוְּךָ֖֣ ׀ יְהוָ֥֣ה אֱלֹהֶֽ֗יךָ (יג) שֵׁ֤֣שֶׁת יָמִ֣ים֙ תַּֽעֲבֹ֔ד֮ וְעָשִׂ֖֣יתָ כָּֿל־מְלַאכְתֶּֽךָ֒׃ (יד) וְי֙וֹם֙ הַשְּׁבִיעִ֜֔י שַׁבָּ֖֣ת ׀ לַיהוָ֖֣ה אֱלֹהֶ֑֗יךָ לֹ֣א תַעֲשֶׂ֣ה כָל־מְלָאכָ֡ה אַתָּ֣ה וּבִנְךָֽ־וּבִתֶּ֣ךָ וְעַבְדְּךָֽ־וַ֠אֲמָתֶךָ וְשׁוֹרְךָ֨ וַחֲמֹֽרְךָ֜ וְכָל־בְּהֶמְתֶּ֗ךָ וְגֵֽרְךָ֙ אֲשֶׁ֣ר בִּשְׁעָרֶ֔יךָ לְמַ֗עַן יָנ֛וּחַ עַבְדְּךָ֥ וַאֲמָתְךָ֖ כָּמֽ֑וֹךָ׃ (טו) וְזָכַרְתָּ֞֗ כִּ֣י־עֶ֤֥בֶד הָיִ֣֙יתָ֙ ׀ בְּאֶ֣רֶץ מִצְרַ֔֗יִם וַיֹּצִ֨אֲךָ֜֩ יְהוָ֤֨ה אֱלֹהֶ֤֙יךָ֙ מִשָּׁ֔ם֙ בְּיָ֤֥ד חֲזָקָ֖ה֙ וּבִזְרֹ֣עַ נְטוּיָ֑֔ה עַל־כֵּ֗ן צִוְּךָ֙ יְהוָ֣ה אֱלֹהֶ֔יךָ לַעֲשׂ֖וֹת אֶת־י֥וֹם הַשַׁבָּֽת׃ (ס)

(12) Observe the sabbath day and keep it holy, as the LORD your God has commanded you. (13) Six days you shall labor and do all your work, (14) but the seventh day is a sabbath of the LORD your God; you shall not do any work—you, your son or your daughter, your male or female slave, your ox or your ass, or any of your cattle, or the stranger in your settlements, so that your male and female slave may rest as you do. (15) Remember that you were a slave in the land of Egypt and the LORD your God freed you from there with a mighty hand and an outstretched arm; therefore the LORD your God has commanded you to observe the sabbath day.

מתני׳ אבות מלאכות ארבעים חסר אחת הזורע והחורש והקוצר והמעמר והדש והזורה הבורר הטוחן והמרקד והלש והאופה הגוזז את הצמר המלבנו והמנפצו והצובעו והטווה והמיסך והעושה שתי בתי נירין והאורג שני חוטין והפוצע שני חוטין הקושר והמתיר והתופר שתי תפירות הקורע על מנת לתפור [שתי תפירות] הצד צבי השוחטו והמפשיטו המולחו והמעבד את עורו והממחקו והמחתכו הכותב שתי אותיות והמוחק על מנת לכתוב שתי אותיות הבונה והסותר המכבה והמבעיר המכה בפטיש המוציא מרשות לרשות הרי אלו אבות מלאכות ארבעים חסר אחת:

MISHNA: This fundamental mishna enumerates those who perform the primary categories of labor prohibited on Shabbat, which number forty-less-one. They are grouped in accordance with their function: One who sows, and one who plows, and one who reaps, and one who gathers sheaves into a pile, and one who threshes, removing the kernel from the husk, and one who winnows threshed grain in the wind, and one who selects the inedible waste from the edible, and one who grinds, and one who sifts the flour in a sieve, and one who kneads dough, and one who bakes. Additional primary categories of prohibited labor are the following: One who shears wool, and one who whitens it, and one who combs the fleece and straightens it, and one who dyes it, and one who spins the wool, and one who stretches the threads of the warp in the loom, and one who constructs two meshes, tying the threads of the warp to the base of the loom, and one who weaves two threads, and one who severs two threads for constructive purposes, and one who ties a knot, and one who unties a knot, and one who sews two stitches with a needle, as well as one who tears a fabric in order to sew two stitches. One who traps a deer, or any living creature, and one who slaughters it, and one who flays it, and one who salts its hide, a step in the tanning process, and one who tans its hide, and one who smooths it, removing hairs and veins, and one who cuts it into measured parts. One who writes two letters and one who erases in order to write two letters. One who builds a structure, and one who dismantles it, one who extinguishes a fire, and one who kindles a fire. One who strikes a blow with a hammer to complete the production process of a vessel (Rabbeinu Ḥananel), and one who carries out an object from domain to domain. All these are primary categories of labor, and they number forty-less-one.

הדור יתבי וקמיבעיא להו הא דתנן אבות מלאכות ארבעים חסר אחת כנגד מי

The Gemara relates that those same Sages who sat and discussed the issue of hides, sat again and they raised a dilemma: That which we learned in the mishna: The primary categories of labor, which are prohibited by Torah law on Shabbat, are forty-less-one; to what does this number correspond? That is to say, what is the source of this number?

אמר להו ר' חנינא בר חמא כנגד עבודות המשכן אמר להו ר' יונתן בר' אלעזר כך אמר רבי שמעון ברבי יוסי בן לקוניא כנגד מלאכה מלאכתו ומלאכת שבתורה ארבעים חסר אחת

Rabbi Ḥanina bar Ḥama said to them: They correspond to the labors in the Tabernacle. All types of labor that were performed in the Tabernacle are enumerated as primary categories of labor with respect to Shabbat. However, other labors, even if they are significant, are not enumerated among the primary categories of labor since they were not performed in the Tabernacle. Rabbi Yonatan, son of Rabbi Elazar, said to them that so said Rabbi Shimon, son of Rabbi Yosei ben Lakonya: They correspond to the instances of the words labor, his labor, and the labor of, that appear in the Torah a total of forty-less-one times.

תולדותיהן כיוצא בהן לא שנא אב חטאת ולא שנא תולדה חטאת לא שנא אב סקילה ולא שנא תולדה סקילה

With regard to the primary categories of labor prohibited on Shabbat, their subcategories are similar to them, as it is no different if one unwittingly performed labor that is a primary category, for which he is liable to bring a sin-offering, and it is no different if one unwittingly performed labor that is a subcategory, for which he is liable to bring a sin-offering. Likewise, it is no different if one intentionally performed labor that is a primary category, for which he is liable to be executed by stoning, and it is no different if one intentionally performed labor that is a subcategory, for which he is liable to be executed by stoning.

(י) וְכָל־חֲכַם־לֵ֖ב בָּכֶ֑ם יָבֹ֣אוּ וְיַעֲשׂ֔וּ אֵ֛ת כָּל־אֲשֶׁ֥ר צִוָּ֖ה יְהוָֽה׃ (יא) אֶת־הַ֨מִּשְׁכָּ֔ן אֶֽת־אָהֳל֖וֹ וְאֶת־מִכְסֵ֑הוּ אֶת־קְרָסָיו֙ וְאֶת־קְרָשָׁ֔יו אֶת־בְּרִיחָ֕ו אֶת־עַמֻּדָ֖יו וְאֶת־אֲדָנָֽיו׃ (יב) אֶת־הָאָרֹ֥ן וְאֶת־בַּדָּ֖יו אֶת־הַכַּפֹּ֑רֶת וְאֵ֖ת פָּרֹ֥כֶת הַמָּסָֽךְ׃ (יג) אֶת־הַשֻּׁלְחָ֥ן וְאֶת־בַּדָּ֖יו וְאֶת־כָּל־כֵּלָ֑יו וְאֵ֖ת לֶ֥חֶם הַפָּנִֽים׃ (יד) וְאֶת־מְנֹרַ֧ת הַמָּא֛וֹר וְאֶת־כֵּלֶ֖יהָ וְאֶת־נֵרֹתֶ֑יהָ וְאֵ֖ת שֶׁ֥מֶן הַמָּאֽוֹר׃ (טו) וְאֶת־מִזְבַּ֤ח הַקְּטֹ֙רֶת֙ וְאֶת־בַּדָּ֔יו וְאֵת֙ שֶׁ֣מֶן הַמִּשְׁחָ֔ה וְאֵ֖ת קְטֹ֣רֶת הַסַּמִּ֑ים וְאֶת־מָסַ֥ךְ הַפֶּ֖תַח לְפֶ֥תַח הַמִּשְׁכָּֽן׃ (טז) אֵ֣ת ׀ מִזְבַּ֣ח הָעֹלָ֗ה וְאֶת־מִכְבַּ֤ר הַנְּחֹ֙שֶׁת֙ אֲשֶׁר־ל֔וֹ אֶת־בַּדָּ֖יו וְאֶת־כָּל־כֵּלָ֑יו אֶת־הַכִּיֹּ֖ר וְאֶת־כַּנּֽוֹ׃ (יז) אֵ֚ת קַלְעֵ֣י הֶחָצֵ֔ר אֶת־עַמֻּדָ֖יו וְאֶת־אֲדָנֶ֑יהָ וְאֵ֕ת מָסַ֖ךְ שַׁ֥עַר הֶחָצֵֽר׃ (יח) אֶת־יִתְדֹ֧ת הַמִּשְׁכָּ֛ן וְאֶת־יִתְדֹ֥ת הֶחָצֵ֖ר וְאֶת־מֵיתְרֵיהֶֽם׃ (יט) אֶת־בִּגְדֵ֥י הַשְּׂרָ֖ד לְשָׁרֵ֣ת בַּקֹּ֑דֶשׁ אֶת־בִּגְדֵ֤י הַקֹּ֙דֶשׁ֙ לְאַהֲרֹ֣ן הַכֹּהֵ֔ן וְאֶת־בִּגְדֵ֥י בָנָ֖יו לְכַהֵֽן׃

(10) And let all among you who are skilled come and make all that the LORD has commanded: (11) the Tabernacle, its tent and its covering, its clasps and its planks, its bars, its posts, and its sockets; (12) the ark and its poles, the cover, and the curtain for the screen; (13) the table, and its poles and all its utensils; and the bread of display; (14) the lampstand for lighting, its furnishings and its lamps, and the oil for lighting; (15) the altar of incense and its poles; the anointing oil and the aromatic incense; and the entrance screen for the entrance of the Tabernacle; (16) the altar of burnt offering, its copper grating, its poles, and all its furnishings; the laver and its stand; (17) the hangings of the enclosure, its posts and its sockets, and the screen for the gate of the court; (18) the pegs for the Tabernacle, the pegs for the enclosure, and their cords; (19) the service vestments for officiating in the sanctuary, the sacral vestments of Aaron the priest and the vestments of his sons for priestly service.