Challah2: 5
הַמַּפְרִישׁ חַלָּתוֹ קֶמַח, אֵינָהּ חַלָּה, וְגָזֵל בְּיַד כֹּהֵן. הָעִסָּה עַצְמָהּ חַיֶּבֶת בַּחַלָּה; וְהַקֶּמַח, אִם יֶשׁ בּוֹ כַּשִּׁעוּר — חַיֶּבֶת בַּחַלָּה, וַאֲסוּרָה לַזָּרִים; דִּבְרֵי רַבִּי יְהוֹשֻׁעַ. אָמְרוּ לוֹ: מַעֲשֶׂה וּקְפָשָׁהּ זָקֵן זָר. אָמַר לָהֶם: אַף הוּא קִלְקֵל לְעַצְמוֹ וְתִקֵּן לַאֲחֵרִים.
[If] one separates his challah [from] flour, it is not challah, and is [considered] stolen [as long as it remains] in the hands of the Kohen [to whom it was given]. The dough itself is obligated in challah; and the flour, if it consists of the [minimum] measure, is obligated in challah and is forbidden to non-Kohanim; [these are] the words of R' Yehoshua. They said to him: There was an incident [in which flour was designated as challah] and a sage who was a non-Kohen grabbed it. He said to them: He, too, ruined matters for himself, [though] he fixed them for others.
Challah2: 6
חֲמֵשֶׁת רְבָעִים קֶמַח — חַיָּבִים בַּחַלָּה. הֵם וּשְׂאוֹרָן וְסֻבָּן וּמֻרְסָנָן חֲמֵשֶׁת רְבָעִים — חַיָּבִין. נִטַּל מֻרְסָנָן מִתּוֹכָן וְחָזַר לְתוֹכָן — הֲרֵי אֵלּוּ פְטוּרִין.
Five reva'im of flour are obligated in challah. [If] it, its sourdough, its fine bran, and its coarse bran [total] five reva'im —- [the dough] is obligated [in challah]. [If] the coarse bran was removed from [the flour] and then returned to it, [the dough] is exempt [from challah].