"And it came to pass that everyone who sought the LORD" (Exodus 33:7). "Everyone who sought Moses" is not written here, but rather "everyone who sought the LORD." This teaches that everyone who welcomes an elder who is full of Torah, it is as though he welcomes the face of the Shekhinah. For even the angels, the seraphim, and the troops would seek him in order to receive permission from him to go forth. They would say to one another, "Behold, he is in the tabernacle of Moses." The sun and the moon, when they seek to receive permission to go forth into the world, go to the tent, "and it came to pass that everyone who sought the LORD [would go out to the Tent of Meeting that was outside the camp]" (Exodus 33:7).
Whoever Welcomes an Elder Full of Torah Greets the Shekhinah
Midrash Tanchuma Buber, Ki Tisa 15:3
והיה כל מבקש ה' (שמות שם), כל שמבקש משה אין כתיב כאן, אלא כל מבקש ה', מלמד שכל המקבל פני זקן מלא תורה, כאילו מקבל פני שכינה, כי אפילו המלאכים והשרפים והגדודים היו מבקשים אותו ליטול ממנו רשות לצאת, אומרים אלו לאלו הרי הוא במשכנו של משה, חמה ולבנה מבקשים ליטול רשות לצאת לעולם הולכים אל האוהל, והיה כל מבקש ה' [יצא אל אהל מועד אשר מחוץ למחנה].