"And he encountered the place" (Genesis 28:11). There is no "encountering" except prayer, as it is stated, "And as for you, do not pray on behalf of this people... and do not entreat Me" (Jeremiah 7:16). And concerning him David said, "Behold, He neither slumbers nor sleeps..." (Psalms 121:4); "The Lord is your keeper, the Lord is your shade..." (Psalms 121:5); "By day the sun shall not strike you..." (Psalms 121:6); "The Lord shall keep you from all evil..." (Psalms 121:7); "The Lord shall guard your going out and your coming in, from now and forever" (Psalms 121:8).
Jacob's Encounter at the Place as Prayer in Midrash Tanchuma
Midrash Tanchuma Buber, Vayetzei 4:1
ויפגע במקום. אין פגיעה אלא תפלה, שנאמר ואתה אל תתפלל בעד העם הזה וגו' ואל תפגע בי (ירמיה ז טז), ועליו אמר דוד הנה לא ינום ולא יישן וגו', ה' שומרך ה' צלך וגו', יומם השמש לא יככה וגו', ה' ישמרך מכל רע וגו', ה' ישמר צאתך ובואך מעתה ועד עולם (תהלים קכא ד ה ו ז ח).