8עֲדָשִׁים שֶׁנִּתְבַּשְּׁלוּ וְאַחַר כָּךְ הִשְׁלִיךְ לְתוֹכָן בָּצָל יָבֵשׁ אִם הָיָה שָׁלֵם הֲרֵי זֶה מֻתָּר. וְאִם הָיָה מְחֻתָּךְ בְּנוֹתֵן טַעַם. וְאִם בִּשֵּׁל הַבָּצָל עִם הָעֲדָשִׁים בֵּין שָׁלֵם בֵּין מְחֻתָּךְ מְשַׁעֲרִין אוֹתוֹ בְּנוֹתֵן טַעַם. וּשְׁאָר כָּל הַתַּבְשִׁיל בֵּין שֶׁהִשְׁלִיךְ הַבָּצָל אַחַר שֶׁנִּתְבַּשֵּׁל בֵּין שֶׁבִּשְּׁלוֹ עִם הַתַּבְשִׁיל בֵּין שָׁלֵם בֵּין מְחֻתָּךְ מְשַׁעֲרִין אוֹתוֹ בְּנוֹתֵן טַעַם. וּמִפְּנֵי מָה בָּצָל שָׁלֵם לְתוֹךְ עֲדָשִׁים שֶׁנִּתְבַּשְּׁלוּ אֵין מְשַׁעֲרִין אוֹתוֹ. מִפְּנֵי שֶׁאֵינוֹ שׁוֹאֵב מֵהֶן שֶׁהֲרֵי הוּא שָׁלֵם וְלֹא פּוֹלֵט לְתוֹכָן שֶׁכְּבָר נִתְבַּשְּׁלוּ. וְאִם הָיוּ בְּצָלִים רַכִּים הֲרֵי הֵן כִּמְחֻתָּךְ. וְכֵן אִם נוֹטֵל פִּטְמָתוֹ וּקְלִפָּתוֹ הַחִיצוֹנָה אוֹ שֶׁהָיָה לַח הֲרֵי הוּא כִּמְחֻתָּךְ. וְהָקַפְלוּט בֵּין לַח בֵּין יָבֵשׁ בֵּין שָׁלֵם בֵּין מְחֻתָּךְ בְּנוֹתֵן טַעַם:
[The following laws apply if] lentils were cooked and then a dry onion was placed among them: If the onion was whole, it is permitted. If it was diced, [the ruling depends on whether] its flavor was imparted. If he cooked the onion with the lentils, whether it is whole or diced, we estimate whether it imparted its flavor. With regard to the remainder of the cooked food, regardless of whether the onion was placed upon it after it was cooked or cooked with it, or whether it was whole or diced, we estimate whether it imparted its flavor. Why do we not estimate [whether flavor was imparted] when a whole onion was placed among cooked lentils? Because it does not absorb from them, for it is whole, nor does it impart [flavor] to them, because they have already been cooked. If the onions were soft, it is considered as if they were diced. Similarly, if its tip or its outer shell was removed or it was moist, it is considered as if it was diced. Wild onions, whether moist or dry, whether whole or diced, we see if they have imparted their flavor.