The sugya of tefillin discusses how the shel yad is derived and where it is placed, forming the Talmudic basis for the later halakhic rulings on arm placement.
אָמַר מָר: ״יָדְךָ״ זוֹ קִיבּוֹרֶת, מְנָלַן? דְּתָנוּ רַבָּנַן: ״עַל יָדְךָ״ – זוֹ גּוֹבַהּ שֶׁבַּיָּד. אַתָּה אוֹמֵר: זוֹ גּוֹבַהּ שֶׁבַּיָּד, אוֹ אֵינוֹ אֶלָּא עַל יָדְךָ מַמָּשׁ? אָמְרָה תּוֹרָה: הַנַּח תְּפִילִּין בַּיָּד וְהַנַּח תְּפִילִּין בָּרֹאשׁ, מָה לְהַלָּן בְּגוֹבַהּ שֶׁבָּרֹאשׁ – אַף כָּאן בְּגוֹבַהּ שֶׁבַּיָּד. רַבִּי אֱלִיעֶזֶר אוֹמֵר: אֵינוֹ צָרִיךְ, הֲרֵי הוּא אוֹמֵר: ״וְהָיָה לְךָ לְאוֹת״, לְךָ לְאוֹת וְלֹא לַאֲחֵרִים לְאוֹת. רַבִּי יִצְחָק אוֹמֵר: אֵינוֹ צָרִיךְ, הֲרֵי הוּא אוֹמֵר: ״וְשַׂמְתֶּם אֶת דְּבָרַי אֵלֶּה עַל לְבַבְכֶם ... וּקְשַׁרְתָּם״, שֶׁתְּהֵא שִׂימָה כְּנֶגֶד הַלֵּב.
The Gemara returns to its discussion of the baraita: The Master says: “On your arm”; this is the bicep. The term yad can mean either hand or arm. Therefore, the Gemara asks: From where do we derive this? As the Sages taught: “On your arm [yadkha]”; this is the upper part of the arm. Do you say that this is the upper part of the arm, or is it only literally on your actual hand, i.e., on the palm of the hand? The Torah says: Don phylacteries on the yad and don phylacteries on the head; just as there, with regard to the head, it means on the upper part of the head, as will be explained, so too here, it means on the upper part of the arm. Rabbi Eliezer says: This proof is not necessary, as the verse states: “And it shall be for a sign for you upon your arm” (Exodus 13:9), which teaches: It shall be a sign for you, but not a sign for others, i.e., one must don the phylacteries of the arm in a place where they are not seen by others. This is the arm, which is usually covered, whereas the hand is usually visible. Rabbi Yitzḥak says: This proof is not necessary, as the verse states: “Therefore you shall place these words in your heart and in your soul, and you shall bind them” (Deuteronomy 11:18). This teaches that placing the words, i.e., donning the phylacteries, shall be opposite the heart, on the bicep.