Shabbos22: 3
שׁוֹבֵר אָדָם אֶת הֶחָבִית לֶאֱכֹל הֵימֶנָּה גְרוֹגְרוֹת, וּבִלְבַד שֶׁלֹּא יִתְכַּוֵּן לַעֲשׂוֹת כְּלִי. וְאֵין נוֹקְבִים מְגוּפָה שֶׁל חָבִית — דִּבְרֵי רַבִּי יְהוּדָה. וַחֲכָמִים מַתִּירִין. וְלֹא יִקְּבֶנָּה מִצִּדָּהּ. וְאִם הָיְתָה נְקוּבָה, לֹא יִתֵּן עָלֶיהָ שַׁעֲוָה, מִפְּנֵי שֶׁהוּא מְמָרֵחַ. אָמַר רַבִּי יְהוּדָה: מַעֲשֶׂה בָא לִפְנֵי רַבָּן יוֹחָנָן בֶּן זַכַּאי בַּעֲרָב, וְאָמַר: ,,חוֹשְׁשַׁנִי לוֹ מֵחַטָּאת.“
A person may break [open] a cask to eat dried figs from it, provided that he does not intend to make a vessel. We may not perforate the bung of a cask — [these are] the words of R’ Yehudah. The Sages, however, permit [it]. [But] one may not perforate it in its side. If it was perforated, one may not place wax upon it, because he smooths [it]. Said R’ Yehudah: An incident came before Rabban Yochanan ben Zakkai in Arab, and he said, ‘’I fear on his account that he may be liable for a sin offering.’’