Zevachim2: 5
לֶאֱכֹל כְּזַיִת בַּחוּץ וּכְזַיִת לְמָחָר, כְּזַיִת לְמָחָר וּכְזַיִת בַּחוּץ, כַּחֲצִי זַיִת בַּחוּץ וְכַחֲצִי זַיִת לְמָחָר, כַּחֲצִי זַיִת לְמָחָר וְכַחֲצִי זַיִת בַּחוּץ — פָּסוּל, וְאֵין בּוֹ כָּרֵת. אָמַר רַבִּי יְהוּדָה: זֶה הַכְּלָל: אִם מַחֲשֶׁבֶת הַזְּמַן קָדְמָה לְמַחֲשֶׁבֶת הַמָּקוֹם — פִּגּוּל, וְחַיָּבִים עָלָיו כָּרֵת; וְאִם מַחֲשֶׁבֶת הַמָּקוֹם קָדְמָה לְמַחֲשֶׁבֶת הַזְּמַן פָּסוּל, וְאֵין בּוֹ כָּרֵת. וַחֲכָמִים אוֹמְרִים: זֶה וָזֶה פָּסוּל, וְאֵין בּוֹ כָּרֵת. לֶאֱכוֹל כַּחֲצִי זַיִת וּלְהַקְטִיר כַּחֲצִי זַיִת, כָּשֵׁר — שֶׁאֵין אֲכִילָה וְהַקְטָרָה מִצְטַרְפִין.
[If he intended] to eat an olive’s volume [of the offering] outside and an olive’s volume tomorrow, [or] an olive’s volume tomorrow and an olive’s volume outside, [or if he intended to eat] half an olive’s volume outside [its area] and half an olive’s volume tomorrow, [or] half an olive’s volume tomorrow and half an olive’s volume outside [its area] — it is invalid, but it bears no kares [punishment]. Said R’ Yehudah: This is the rule: If the intent of time preceded the intent of place, [it is] piggul, and one is liable to kares for it; but if the intent of place preceded the intent of time it is invalid, but bears no kares [punishment]. But the Sages say: In either case it is invalid, but bears no kares [punishment]. [If one intended] to eat half an olive’s volume and to burn upon the Altar half an olive’s volume, it is valid — because eating and Altar-burning are not combined.