Ézéchiel 13:9 Halakha : Mishneh Torah, Kings and Wars

וְהָיְתָ֣ה יָדִ֗י אֶֽל־הַנְּבִיאִ֞ים הַחֹזִ֣ים שָׁוְא֮ וְהַקֹּסְמִ֣ים כָּזָב֒ בְּס֧וֹד עַמִּ֣י לֹֽא־יִהְי֗וּ וּבִכְתָ֤ב בֵּֽית־יִשְׂרָאֵל֙ לֹ֣א יִכָּתֵ֔בוּ וְאֶל־אַדְמַ֥ת יִשְׂרָאֵ֖ל לֹ֣א יָבֹ֑אוּ וִידַעְתֶּ֕ם כִּ֥י אֲנִ֖י אֲדֹנָ֥י יְהוִֽה׃

Et ma main pèsera sur les prophètes qui annoncent des visions fausses et des oracles mensongers; ils ne seront pas du conseil de mon peuple, ils ne seront pas inscrits sur les rôles de la maison d’Israël, et ils ne viendront pas sur le territoire d’Israël, et vous saurez que je suis le Seigneur Dieu.

Mishneh Torah, Kings and Wars

A person should always dwell in Eretz Yisroel, even in a city where most of the residents are not Jewish, rather than live outside of the Land in a city where most of the residents are Jewish. For anyone who leaves the Land is considered as if he worships idols, as it says, “for they have driven me out this day that I should not cleave to the inheritance of the Lord, saying, ‘go serve other gods’” (I Samuel 26:19). And regarding the calamities it says, “Neither shall they enter into the land of Israel” (Ezekiel 13:9). Just as it is forbidden to leave the Land, so it is forbidden to leave Babylon for any other country, as it says, “They shall be carried to Babylon, and there shall they be” (Jeremiah 27:22).