Another interpretation: What does the verse teach by saying "until morning"? It tells us that the remnant is not burned until the daylight of the sixteenth [of Nisan]. Rabbi Ishmael says: This is not needed, for the verse already says, "No manner of work shall be done in them" (Exodus 12:16), and burning is a form of work. Then why does the verse say "until morning"? Rather, it teaches that if the sixteenth falls on a Sabbath, the remnant is not burned until the daylight of the seventeenth. Rabbi Jonathan says: This too is not needed. By an argument from the lesser to the greater: in a case where the preparation of all food sets aside the festival, still the burning of the remnant does not set aside the festival; in a case where the preparation of some food does not set aside the Sabbath, is it not logical that the burning of the remnant should not set aside the Sabbath? Then why does the verse say "until morning"? Scripture comes to set a boundary for the morning of the morning. Rabbi Isaac says: This is not needed. If leaven, which falls under "it shall not be seen" and "it shall not be found," still its burning does not set aside the festival, and so forth. Then why does the verse say "until morning"? For the matter that we stated.
When the Sixteenth Falls on Sabbath the Leftover Burns a Day Later
Yalkut Shimoni on Torah 198:5
דָּבָר אַחֵר, מַה תַּלְמוּד לוֹמַר עַד בֹּקֶר, מַגִּיד שֶׁאֵינוֹ נִשְׂרָף אֶלָּא לְאוֹר שִׁשָּׁה עָשָׂר, רַבִּי יִשְׁמָעֵאל אוֹמֵר, אֵינוֹ צָרִיךְ, הֲרֵי הוּא אוֹמֵר "כָּל מְלָאכָה לֹא יֵעָשֶׂה בָהֶם", שְׂרֵפָה מֵעֵין מְלָאכָה הִיא. וּמַה תַּלְמוּד לוֹמַר עַד (הַ)בֹּקֶר, אֶלָּא שֶׁאִם חָל שִׁשָּׁה עָשָׂר לִהְיוֹת בְּשַׁבָּת מַגִּיד שֶּׁאֵינוֹ נִשְׂרָף אֶלָּא לְאוֹר שִׁבְעָה עָשָׂר. רַבִּי יוֹנָתָן אוֹמֵר, אֵינוֹ צָרִיךְ וּמַה בְּמָקוֹם שֶׁכָּל אֹכֶל נֶפֶשׁ דּוֹחֶה אֶת יוֹם טוֹב אֵין שְׂרֵפַת נוֹתָר דּוֹחָה יוֹם טוֹב מָקוֹם שֶׁאֵין מִקְצַת אֹכֶל נֶפֶשׁ דּוֹחֶה שַׁבָּת אֵינוֹ דִּין שֶׁלֹּא תְּהֵא שְׂרֵפַת נוֹתָר דּוֹחָה אֶת הַשַּׁבָּת, וּמַה תַּלְמוּד לוֹמַר עַד בֹּקֶר בָּא הַכָּתוּב לִתֵּן תְּחוּם לְבָקְרוֹ שֶׁל בֹּקֶר, רַבִּי יִצְחָק אוֹמֵר, אֵינוֹ צָרִיךְ, וּמָה אִם חָמֵץ שֶׁהוּא בְּבַל יֵרָאֶה וּבַל יִמָּצֵא אֵין שְׂרֵפָתוֹ דּוֹחֶה יוֹם טוֹב וְכוּ' הָא מַה תַּלְמוּד לוֹמַר עַד בֹּקֶר, לָעִנְיָן שֶׁאָמַרְנוּ.