Rabbi Yose bar Hanina said: He hinted that all heifers come to an end, but his endures forever. Rabbi Aha said in the name of Rabbi Yose bar Hanina: At the hour when Moses ascended to the firmament, he heard the voice of the Holy One, blessed be He, sitting and occupying Himself with the section of the Heifer, and reciting a halakhah in the name of the one who said it: "Rabbi Eliezer says: a calf is one year old, and a heifer is two years old." Moses said: Master of the Universe, are not the upper beings and the lower beings Yours? Yet You recite a halakhah in the name of flesh and blood! He said to him: A certain righteous man is destined to arise in My world, and he is destined to open with the section of the Heifer first—"Rabbi Eliezer says: a calf is one year old, and a heifer is two years old." He said before Him: Master of the Universe, may it be Your will that he be from my loins. He said to him: By your life, he is from your loins, as it is stated, "the name of the one was Eliezer" (Exodus 18:4)—the name of that distinguished one, Eliezer.
Moses Hears God Teaching the Red Heifer in Eliezer's Name
Midrash Tanchuma Buber, Chukat 24:3
אמר ר' יוסי בר חנינא רמזו שכל הפרות כלות, ושלו קיימת לעולם. ר' אחא בשם ר' יוסי בר חנינא אמר בשעה שעלה משה לרקיע, שמע קולו של הקב"ה יושב ועוסק בפרשת פרה, ואומר הלכה בשם אומרה, ר' אליעזר אומר עגלה בת שנתה ופרה בת שתים, אמר משה רבש"ע והלא העליונים והתחתונים שלך הם, ואתה אומר הלכה משמו של בשר ודם, א"ל צדיק אחד עתיד לעמוד בעולמי, ועתיד לפתוח בפרשת פרה תחלה, ר' אליעזר אומר עגלה בת שנתה, ופרה בת שתים, אמר לפניו רבש"ע יהי רצון שיהא מחלציי, א"ל חייך שהוא מחלציך, שנאמר שם האחד אליעזר (שמות יח ד), שם אותו המיוחד אליעזר.