Concerning the creeping things, from where? As it is said, "And these shall be unclean to you [among the swarming things that swarm upon the earth]" (Leviticus 11:29). The Holy One, blessed be He, took hold of each and every species and showed it to Moses, and said to him: This one you may eat, and this one you may not eat, [as it is said,] "This is the living creature which you may eat [and so forth: but this you may not eat]" (Leviticus 11:2, 4). And do not wonder at the matter; for behold, the Holy One showed [the creatures to Adam]. And [He said,] "And I, what is My name?" He said to Him: It is the LORD, as Scripture says, "I am the LORD, that is My name" (Isaiah 42:8). [This is My name by which the first man called Me;] it is My name which I have established between Me and My creatures. Now if in the case of the first man the Holy One passed the creatures before him, then as for Moses, for whom the Holy One sought to warn Israel concerning the impurities and concerning the purities, do you wonder that He showed him and said to him, "[This is the living creature which you may eat]"?
How God Showed Moses Every Creature He Could and Could Not Eat
Midrash Tanchuma Buber, Shmini 11:3
בשרצים מנין, שנאמר וזה לכם הטמא [בשרץ השורץ על הארץ] (ויקרא יא כט), תפש הקב"ה כל מין ומין והראה לו למשה, ואמר לו זה תאכל וזה לא תאכל, [שנאמר] (וזה) [זאת] החיה אשר תאכלו [וגו' אך את זה לא תאכלו] (שם שם ב ד), ואל תתמה על הדבר, שהרי הראה הקב"ה ואני מה שמי, א"ל ה' הוא שהכתוב אומר אני ה' הוא שמי (ישעיה מב ח), [זה שמי שקרא לי אדם הראשון], הוא שמי שהתניתי ביני ובין בריותי, ומה אדם הראשון העביר הקב"ה את הבריות לפניו, משה שהיה הקב"ה מבקש להזהיר את ישראל על הטומאות ועל הטהרות אתה תמה שהראה לו ואמר לו זאת (תאכלו וזאת לא תאכלו) [החיה אשר תאכלו]. (שא"ל)