The Shulchan Aruch · Orach Chayim
אורח חיים של״גOrach Chayim 333
Siman 333 of 697 in Orach Chayim — 3 se'ifim
הלכות שבתLaws of Shabbat· siman 333
Se’if 1א׳
אוֹצָר שֶׁל תְּבוּאָה אוֹ שֶׁל כַּדֵּי יַיִן, אַף עַל פִּי שֶׁמֻּתָּר לְהִסְתַּפֵּק מִמֶּנּוּ אָסוּר לְהַתְחִיל בּוֹ לְפַנּוֹתוֹ אֶלָּא לִדְבַר מִצְוָה, כְּגוֹן שֶׁפִּנָּהוּ לְהַכְנָסַת אוֹרְחִים אוֹ לִקְבֹּעַ בּוֹ בֵּית הַמִּדְרָשׁ. וְכֵיצַד מְפַנֶּהוּ, אִם הָיָה הָאוֹצָר גָּדוֹל מְפַנֶּה מִמֶּנּוּ חֲמִשָּׁה קֻפּוֹת שֶׁבְּכָל קֻפָּה שָׁלֹשׁ סְאִים (הַגָּהוֹת מָרְדְּכַי וְרַ"ן פֶּרֶק מְפַנִּין), לֹא הָיָה בּוֹ אֶלָּא חֲמִשָּׁה קֻפּוֹת, מְפַנֶּה מֵהֶם אַרְבָּעָה אֲבָל כֻּלּוֹ לֹא יְפַנֶּה שֶׁמָּא יָבֹא לְהַשְׁווֹת גּוּמוֹת. הַגָּה: וְכָל שְׁבוּת שֶׁהִתִּירוּ מִשּׁוּם צֹרֶךְ מִצְוָה מֻתָּר גַּם כֵּן לְצֹרֶךְ אוֹרְחִים; וְלֹא מִקְרֵי אוֹרְחִים, אֶלָּא שֶׁנִּתְאָרְחוּ אֶצְלוֹ בְּבֵיתוֹ, אוֹ שֶׁזִּמֵּן אוֹרְחִים שֶׁנִּתְאָרְחוּ אֵצֶל אֲחֵרִים (תְּרוּמַת הַדֶּשֶׁן סי' ע"ב), אֲבָל כְּשֶׁזִּמֵּן חֲבֵרוֹ לִסְעֹד אֶצְלוֹ לֹא מִקְרֵי אוֹרְחִים וְאֵינוֹ סְעֻדַּת מִצְוָה רַק סְעֻדַּת רְשׁוּת.
That one should not empty a storehouse on Shabbat. Containing 3 paragraphs: Even though it is permitted to take supplies from a storehouse of produce or wine barrels, it is forbidden to begin emptying it except for a mitzvah, like emptying it to host guests or to make a house of study inside. How should he empty it? If it is a big storehouse, he removes five kupas, (every kupa being three seahs) (Hagahot Mordechai and Ran in Perek HaMefanin). If the storehouse only has five kupas, he removes four kupas, but not all of them, lest he come to fill crevices in the floor. Rem"a: Every abstention from work that was allowed for the sake of a mitzvah is also allowed for the sake of guests. They are not referred to as "guests" unless they are staying in his house or he has invited guests staying at another house (Trumat Hadeshen Chapter 72), but if he just invites his friend to eat with him, he is not called a guest and the meal is not a commanded meal but just optional (Beit Yosef).
Se’if 2ב׳
כְּשֶׁמְּפַנֶּה אֵלּוּ אַרְבָּעָה אוֹ חֲמִשָּׁה קֻפּוֹת לֹא יְחַלְּקֵם בְּקֻפּוֹת קְטַנּוֹת לְהוֹלִיכָם בְּהַרְבֵּה פְּעָמִים כְּדֵי לְהָקֵל הַמַּשּׂאוֹי, מִפְּנֵי שֶׁמַּרְבֶּה בְּהִלּוּךְ וְאַוְשָׁא מִלְּתָא טְפֵי.
When he removes these four or five kupas, he should not divide them into small groups so that he makes multiple trips but the load is lessened because this increases his distance walked and becomes more noticeable and public.
Se’if 3ג׳
אֵלּוּ ד' אוֹ ה' קֻפּוֹת שֶׁמְּפַנֶּה דְּהַיְנוּ לְאוֹרֵחַ אֶחָד, וְאִם בָּאוּ לוֹ הַרְבֵּה מְפַנֶּה כַּשִּׁעוּר הַזֶּה לְכָל אוֹרֵחַ וְאוֹרֵחַ וּבִלְבַד שֶׁלֹּא יְפַנֶּה אֶחָד לְכֻלָּם דְּאִיכָּא טִרְחָא יְתֵרָה, אֶלָּא כָּל אֶחָד יְפַנֶּה לְעַצְמוֹ אוֹ אַחֵר יְפַנֶּה בַּעֲדוֹ. הַגָּה: חָבִיּוֹת שֶׁל יַיִן שֶׁהוּבְאוּ עַל עֲגָלָה אָסוּר לְהוֹרִידָן בְּשַׁבָּת אִם לֹא לִכְבוֹד אוֹרְחִים אוֹ לְצֹרֶךְ מִצְוָה דְּהָוֵי כִּמְפַנֶּה הָאוֹצָר. (אוֹר זָרוּעַ).
These four or five kupas that he removes are for one guest, but if multiple guests come, he removes this measurement for each one. One person should not clear it out for everyone because this is a lot of work. Rather, every individual should clear space for himself or someone else can do it for him. Rema: It is forbidden to lower wine barrels brought by wagon, unless it is for honoring guests or for the sake of a mitzvah, in which case it is like clearing a storehouse (Or Zarua).
Shulchan Aruch, Orach Chayim — Torat Emet 363 edition, via Sefaria — public domain
English: Sefaria Community Translation — CC0