(ד) תּוֹלָעִים הַגְּדֵלִים בַּפֵּרוֹת, בְּתָלוּשׁ, מֻתָּרִים. שֶׁלֹּא אָסְרָה תּוֹרָה אֶלָּא שֶׁרֶץ הַשּׁוֹרֵץ עַל הָאָרֶץ. בַּמֶּה דְּבָרִים אֲמוּרִים, שֶׁלֹּא פֵּרְשׁוּ מִן הַפְּרִי. אֲבָל פֵּרְשׁוּ מִן הַפְּרִי, אֲפִלּוּ לֹא הִגִּיעַ לָאָרֶץ אֶלָּא שֶׁמֵּת בָּאֲוִיר קֹדֶם שֶׁהִגִּיעַ לָאָרֶץ, וַאֲפִלּוּ לֹא פֵּרֵשׁ כֻּלּוֹ מֵהַפְּרִי אֶלָּא מִקְצָתוֹ, אוֹ שֶׁלֹּא פֵּרֵשׁ אֶלָּא עַל גַּבֵּי הַפְּרִי אוֹ עַל הַגַּרְעִין שֶׁבְּתוֹכוֹ, אוֹ שֶׁפֵּרֵשׁ מִפְּרִי לִפְרִי, אָסוּר. וְיֵשׁ אוֹסְרִים אֲפִלּוּ מֵת בְּתוֹךְ הַפְּרִי וּפֵרֵשׁ אַחַר כָּךְ. כָּל זְמַן שֶׁנִּמְצָא בְּתוֹךְ הַפְּרִי, אֲפִלּוּ חֹרוֹ נָקוּב לַחוּץ, לֹא חַיְישִׁינָן שֶׁמָּא פֵּרֵשׁ וְחָזַר. וְיֵשׁ אוֹסְרִים אִם חֹרוֹ נָקוּב לַחוּץ (מָרְדְּכַי פא''ט וְש''ד בְּשֵׁם ראב''ן וְר' אבי''ה בְּשֵׁם ר' יוֹאֵל הוּבָא בת''ה סי' קע''א) וְהָכֵי נָהוּג (ת''ה שָׁם וּבְהַגָּהַת ש''ד).
(4) Worms that grow in fruit, in picked [fruit], they are permitted. The Torah only forbade crawling things that crawl on land. To what are we referring, when they did not leave the fruit. But if they left the fruit, even if it did not reach the land rather it dead in the air before it reached the ground, even if it did not entirely leave the fruit, only a little, or it only left onto the fruit, or on the seed that is inside, or if it left from fruit to fruit, it is forbidden. And there are those who say even if it died within the fruit and left afterwards. Any time that it is found within the fruit, even a hole bored to the outside, we are not concerned lest it left and returned. There are those who forbid if the hole bored to the outside (Moredechai PA''T and Sh''D in the name of RAB''N and Rabbi ABI''H in the name of Rabbi Yoel Huvah BT''H Siman 171) and this is how we are accustomed (Terumat HaDeshen ibid. and Hagahot SH''D.