Midras Kejadian 26:2: Midrash Aggadah, Midrash Tanchuma Buber & Bereshit Rabbah

וַיֵּרָ֤א אֵלָיו֙ יְהוָ֔ה וַיֹּ֖אמֶר אַל־תֵּרֵ֣ד מִצְרָ֑יְמָה שְׁכֹ֣ן בָּאָ֔רֶץ אֲשֶׁ֖ר אֹמַ֥ר אֵלֶֽיךָ׃

Lalu Yang Mahakekal menampakkan diri kepadanya dan berfirman, “Janganlah turun ke Mesir; tinggallah di negeri yang akan Kukatakan kepadamu.

Midrash Aggadah

Stay in the land. As if to say that here is your divine presence.
Tanya RabiBookmarkShareCopy

Midrash Aggadah

In the land that I point out to you. In the merit of Abraham that I spoke to him "on one of the mountains that I will point out to you." (Genesis 22:2)
Tanya RabiBookmarkShareCopy

Midrash Tanchuma Buber

(Gen. 26:1, cont.:) AND ISAAC WENT TO ABIMELECH…. He had wanted to go down to Egypt, < but > the Holy One immediately appeared to him. He said to him (in vs. 2): DO NOT GO DOWN TO EGYPT. Abraham went down < there >, but Isaac did not go down. Now why did he say, not to Abraham, but only to Isaac: DO NOT GO DOWN TO EGYPT? R. Hosha'ya said: The Holy One said unto Isaac: Because your father came to the land from abroad, he went down to Egypt; but, since you were born in the land of Israel and < represent > a pure burnt offering, how could you be going down?23Gen. R. 64:3. Ergo (in Gen. 26:2): DO NOT GO DOWN TO EGYPT.
Tanya RabiBookmarkShareCopy