"And God said: Let us make man in our image, after our likeness" (Genesis 1:26). Rabbi Yohanan opened: "Behind and before You have formed me" and so forth (Psalms 139:5). Rabbi Yohanan said: If a person merits, he consumes two worlds, as it is stated: "Behind and before You have formed me"; and if not, he comes to give a judgment and an accounting, as it is stated: "And You have laid Your hand upon me" (Psalms 139:5). Rabbi Yirmeyah ben Elazar said: When the Holy One, blessed be He, created the first man, He created him as an androgyne, this is what is written: "male and female He created them" (Genesis 5:2). Rabbi Shmuel bar Nahman said: When the Holy One, blessed be He, created the first man, He created him with two faces, and He sawed him apart and made him with two backs, a back on this side and a back on that side. They objected to him: But is it not written, "And He took one of his ribs" (Genesis 2:21)? He said to them: It means one of his sides, just as you say: "And for the side of the Tabernacle" (Exodus 26:20), which we translate, And for the side of the Tabernacle, and so forth. Rabbi Tanhuma in the name of Rabbi Banayah, and Rabbi Berekhyah in the name of Rabbi Elazar said: When the Holy One, blessed be He, created the first man, He created him as a formless mass, and he lay stretched from one end of the world to the other, this is what is written: "Your eyes saw my unformed substance" and so forth (Psalms 139:16). Rabbi Yehoshua bar Nehemyah and Rabbi Yehudah bar Simon in the name of Rabbi Elazar said: He created him filling the whole world. From the east to the west, from where? As it is stated: "Behind and before You have formed me" and so forth (Psalms 139:5). From north to south, from where? As it is stated: "and from one end of the heavens to the other end of the heavens" (Deuteronomy 4:32). And from where do we know that he filled even the empty space of the world? As it is stated: "And You have laid Your hand upon me," just as you say: "Remove Your hand far from me" (Job 13:21). Rabbi Elazar said: "Behind" refers to the work of the first day, and "before" to the work of the last day. This accords with the opinion of Rabbi Elazar, for Rabbi Elazar said: "Let the earth bring forth a living soul after its kind" (Genesis 1:24), this is the spirit of the first man. Rabbi Shimon ben Lakish said: "Behind" refers to the work of the last day, and "before" to the work of the first day. This accords with the opinion of Rabbi Shimon ben Lakish, for Resh Lakish said: "And the spirit of God hovered upon the face of the waters" (Genesis 1:2), this is the spirit of the King Messiah, just as you say: "And the spirit of the LORD will rest upon him" (Isaiah 11:2). If a person merits, they say to him: You preceded the ministering angels. And if not, they say to him: A fly preceded you, a gnat preceded you, this worm preceded you.
The Heavenly Man
Bereshit Rabbah 8:1
ויאמר אלהים נעשה אדם בצלמנו כדמותנו. רבי יוחנן פתח: (תהלים קלט): אחור וקדם צרתני וגו' אמר רבי יוחנן: אם זכה אדם, אוכל שני עולמות, שנאמר: אחור וקדם צרתני, ואם לאו הוא בא ליתן דין וחשבון, שנאמר (שם): ותשת עלי כפכה. אמר רבי ירמיה בן אלעזר: בשעה שברא הקדוש ברוך הוא את אדם הראשון, אנדרוגינוס בראו, הדא הוא דכתיב: זכר ונקבה בראם. אמר רבי שמואל בר נחמן: בשעה שברא הקב"ה את אדם הראשון, דיו פרצופים בראו ונסרו ועשאו גביים, גב לכאן וגב לכאן. איתיבון ליה, והכתיב: ויקח אחת מצלעותיו?! אמר להון: מתרין סטרוהי, היך מה דאת אמר: (שמות כו): ולצלע המשכן, דמתרגמינן ולסטר משכנא וגו'. רבי תנחומא בשם רבי בנייה ורבי ברכיה בשם ר"א אמר: בשעה שברא הקדוש ברוך הוא את אדם הראשון גולם בראו, והיה מוטל מסוף העולם ועד סופו, הדא הוא דכתיב: (תהלים קלט) גלמי ראו עיניך וגו'. רבי יהושע בר נחמיה ורבי יהודה בר סימון בשם רבי אלעזר אמר: מלא כל העולם בראו. מן המזרח למערב מנין? שנאמר (שם): אחור וקדם צרתני וגו'. מצפון לדרום מנין? שנאמר (דברים ד): ולמקצה השמים ועד קצה השמים. ומנין אף בחללו של עולם? שנא': ותשת עלי כפכה, כמה דאת אמר (איוב יג): כפך מעלי הרחק. אמר רבי אלעזר: אחור למעשה יום הראשון וקדם למעשה יום האחרון. הוא דעתיה דרבי אלעזר דאמר רבי אלעזר תוצא הארץ נפש חיה למינה, זה רוחו של אדם הראשון. אמר רבי שמעון בן לקיש: אחור למעשה יום האחרון וקדם למעשה יום הראשון. הוא דעתיה דרבי שמעון בן לקיש דאמר ריש לקיש: ורוח אלהים מרחפת על פני המים, זו רוחו של מלך המשיח. היך מה דאת אמר (ישעיה יא): ונחה עליו רוח ה'. אם זכה אדם, אומרים לו: אתה קדמת למלאכי השרת. ואם לאו, אומרים לו: זבוב קדמך, יתוש קדמך, שלושול זה קדמך.