Makos3: 3
הָאוֹכֵל בִּכּוּרִים עַד שֶׁלֹּא קָרָא עֲלֵיהֶן, קָדְשֵׁי קָדָשִׁים חוּץ לַקְּלָעִים, קָדָשִׁים קַלִּים וּמַעֲשֵׂר שֵׁנִי חוּץ לַחוֹמָה, הַשּׁוֹבֵר אֶת הָעֶצֶם בַּפֶּסַח הַטָּהוֹר — הֲרֵי זֶה לוֹקֶה אַרְבָּעִים. אֲבָל הַמּוֹתִיר בַּטָּהוֹר, וְהַשּׁוֹבֵר בַּטָּמֵא — אֵינוֹ לוֹקֶה אַרְבָּעִים.
One who eats bikkurim before the recital over them, [or who eats] kodshei kodashim outside the curtains, kodashim kalim or maaser sheni out-side the wall, [or] one who breaks the bone of a pesach-offering that is tahor —- incurs the penalty of forty [lashes]. But one who leaves over [meat] of one that is tahor, or who breaks [a bone] of one that is tamei, does not incur the penalty of forty [lashes].