(Exodus 38:9-14) A garden or an enclosure that is seventy cubits and a remainder by seventy cubits and a remainder, surrounded by a wall ten handbreadths high - one may carry within it on the Sabbath. From where are these words derived? Rav Judah said: Scripture says (Exodus 27:18) "The length of the courtyard a hundred cubits and the breadth fifty by fifty." The Torah said: take fifty and surround fifty. But the plain sense of the verse - to what does it refer? Abaye said: Set the Tabernacle at the edge of the fifty, so that there be fifty cubits before it and twenty cubits to each and every side. One measures only with a rope of fifty cubits. From where are these words derived? Rav Judah said: Scripture says "The length of the courtyard a hundred cubits and the breadth fifty by fifty." The Torah said: measure with a rope of fifty cubits. But this is needed for "take fifty and surround fifty"! If so, let the verse say "fifty fifty"; what is "fifty by fifty"? Learn from it two things.
Deriving the Sabbath Enclosure From the Tabernacle Courtyard
Yalkut Shimoni on Torah 414:2
(שמות לח ט-יד) הַגִּנָּה וְהַקַּרְפָּף, שֶׁהֵן שִׁבְעִים אַמָּה וְשִׁירַיִם עַל שִׁבְעִים אַמָּה וְשִׁירַיִם, הַמֻּקֶּפֶת גָּדֵר גָּבֹהַּ עֲשָׂרָה טְפָחִים, מְטַלְטְלִין בְּתוֹכָהּ בְּשַׁבָּת. מִנָּא הָנֵּי מִלֵּי. אֲמַר רַב יְהוּדָה, אֲמַר קְרָא (שמות כז, יח) "אֹרֶךְ הֶחָצֵר מֵאָה בָאַמָּה וְרֹחַב חֲמִשִּׁים בַּחֲמִשִּׁים", אָמְרָה תּוֹרָה, טֹל חֲמִשִּׁים וּסְבֹב חֲמִשִּׁים. פְּשָׁטֵיהּ דִּקְרָא בְּמַאי כְּתִיב. אֲמַר אַבַּיֵּי, הַעֲמֵד הַמִּשְׁכָּן עַל שְׂפַת (עֶשְׂרִים) [חֲמִשִּׁים], כְּדֵי שֶׁיְּהֵא חֲמִשִּׁים אַמָּה לְפָנָיו וְעֶשְׂרִים אַמָּה לְכָל רוּחַ וָרוּחַ. אֵין מוֹדְדִין אֶלָּא בְּחֶבֶל שֶׁל חֲמִשִּׁים אַמָּה. מִנָּא הָנֵּי מִלֵּי אֲמַר רַב יְהוּדָה אֲמַר קְרָא (שם) "אֹרֶךְ הֶחָצֵר מֵאָה בָאַמָּה וְרֹחַב חֲמִשִּׁים בַּחֲמִשִּׁים", אָמְרָה תּוֹרָה, בְּחֶבֶל שֶׁל חֲמִשִּׁים אַמָּה מְדֹד. הַאי מִבָּעֵי לֵיהּ לִטֹּל חֲמִשִּׁים וְלִסְבֹּב חֲמִשִּׁים. אִם כֵּן לֵימָא קְרָא "חֲמִשִּׁים (וַ)חֲמִשִּׁים", מַאי ["חֲמִשִּׁים] בַּחֲמִשִּׁים", שְׁמַע מִינָּהּ תַּרְתֵּי.