Someone mentioned that there is a statement of our Rabbis, "There is nothing on earth that is not hinted at in the Torah."*
Does anyone know where such a statement can be found?
One source for this is the introduction of the Ramban to Sefer Bereishis, where he says that the 50 gates of wisdom minus one that were given to Moshe represent knowledge about all that is in creation, and this was all given to Moshe, either explictly or hinted to in a letter, the forms of the letters, changes in the forms of the letters, Gematrios, etc. in the Torah.
This is also the commonly understood meaning of what the Zohar (2:161a) says "אסתכל בה באורייתא וברא עלמא" - G-d looked in the Torah and created the world, that for anything to exist it has to exist in the Torah first, and thus the Torah determines what it is.
another source. Vilna Gaon commentary on sefer detzinuata 55a
"all that ever was, is and will be is in the torah. And not just the general things but rather even every detail of each specific person, everything that happened to him from his birth till his end, and all of his gilgulim, and all the details and the details of his details, and likewise for every animal, every plant, every inanimate object and all its details and details of details..."
I once heard from a kabalist that the term "torah" is from the word "Tor" which means "the turn", i.e. like when someone stands in line waiting his turn. It sets the "turn" of every event from creation till eternity.
Pirqe'i Avot 5:22 states (my translation):
בן בג בג אומר, הפך בה והפך בה, דכלא בה.
Ben Bag Bag says, 'Delve in her and delve in her, for all is within her'.
Rabbe'inu 'Ovadyah MiBartenura explains:
הפוך בה והפוך בה - בתורה
Delve in her and delve in her - In the Torah
R. Eleazar Rokeah writes in Sefer HaShem (p. 43) that everything is hinted to in the Torah:
ללמדך כי כל דבר רמוז בתורה אלא שנעלם מבני אדם
To teach you that everything is hinted to in the Torah, but it is hidden form people.
A similar sweeping statement is made by R. Nattan of Clermont (late 13th century) in his commentary to the haggada (published in Moriah 257-9 (5759)):
שכל הענינים רמוזים בתורה
All things are hinted to in the Torah.
דלית לך מלה זעירא דלא תשכח לה באורייתא