"The speech of one who hears the words of God" (Numbers 24:4) — for the Shekhinah was speaking with him. "Who sees the vision of Shaddai" — for he would gaze upon the Shekhinah. "Falling down, yet with open eyes" — when he wished to speak with Him, the Holy One, blessed be He, he would prostrate himself to the ground and cast himself down at the gate, and immediately the Holy One, blessed be He, by means of it would show him all that he asked. And why was he unable to see the Shekhinah unless he fell down? Because he was uncircumcised and was unable to stand upon his feet.
Why Balaam Fell to the Ground to See the Vision of Shaddai
Midrash Aggadah, Numbers 24:4
נאם שומע אמרי אל. שהיתה שכינה מדברת עמו: אשר מחזה שדי יחזה. שהיה מביט בשכינה: נופל וגלוי עינים. כשהיה רוצה לדבר עמו הקב"ה היה משתטח לארץ ומפיל עצמו לתרעא, ומיד הקב"ה ביה מראה לו כל מה שהיה שואל, ולמה לא היה יכול לראות השכינה אלא אם כן היה נופל, לפי שהיה ערל ולא היה יכול לעמוד על רגליו: