Ohalos9: 1
כַּוֶּרֶת שֶׁהִיא בְתוֹךְ הַפֶּתַח וּפִיהָ לַחוּץ, כְּזַיִת מִן הַמֵּת נָתוּן תַּחְתֶּיהָ אוֹ עַל גַּבָּהּ מִבַּחוּץ — כֹּל שֶׁהוּא כְנֶגֶד הַזַּיִת, תַּחְתֶּיהָ וְגַבָּהּ, טָמֵא; וְכֹל שֶׁאֵינוֹ כְנֶגֶד הַזַּיִת, תּוֹכָהּ, וְהַבַּיִת, טָהוֹר. בַּבַּיִת, אֵין טָמֵא אֶלָּא הַבַּיִת. בְּתוֹכָהּ, הַכֹּל טָמֵא.
A beehive is located in the doorway [of a house] with its mouth outdoors. An olive-sized piece of corpse is located outdoors, [either] below [the hive] or above it. Any item that is directly below or above the olive-sized piece becomes tamei. What-ever is not directly [below or above] the olive-sized piece [and] whatever is inside [either the hive] or the house remains tahor. [If the olive-sized piece is] inside the house, only that which is inside the house becomes tamei. [If it is] inside [the hive], everything becomes tamei.