"And you shall leave none of it until morning" (Exodus 12:10). One might think that if he left any of it until morning he should receive the forty lashes; the verse says "and that which remains of it until morning you shall burn with fire," Scripture comes to set a positive commandment alongside a negative one. These are the words of Rabbi Yehudah. Rabbi Yaakov said to him: not for that reason, but because in leaving it he has done no deed. "And that which remains of it until morning you shall burn with fire" (Exodus 12:10). One might think he should burn it on the festival day; the verse says "you shall leave none of it until morning," and "that which remains of it until morning": two mornings here, the morning of the fifteenth and the morning of the sixteenth, to teach you that the burning of holy things does not override the festival day, and it goes without saying it does not override the Sabbath.
Leaving None Until Morning and Burning the Remnant
Mekhilta DeRabbi Shimon Ben Yochai 12:10
ולא תותירו ממנו עד בוקר יכול אם הותיר ממנו עד בקר יהא לוקה את הארבעים ת"ל והנותר ממנו עד בקר באש תשרופו בא הכתוב ליתן עשה על לא תעשה דברי ר' יהודה אמר לו ר' יעקב לא מפני כך אלא מפני שלא עשה זה כלום: והנותר ממנו עד בקר באש תשרופו. יכול יהא שורפו ביום טוב ת"ל ולא תותירו ממנו עד בקר והנותר ממנו עד בקר שני בקרים כאן בקר חמשה עשר ובקר ששה עשר ללמדך שאין שריפת קדשים דוחה את יום טוב ואין צריך לומר את השבת.