וְאֶ֨ת־הָעָ֔ם הֶעֱבִ֥יר אֹת֖וֹ לֶעָרִ֑ים מִקְצֵ֥ה גְבוּל־מִצְרַ֖יִם וְעַד־קָצֵֽהוּ׃
And as for the people, he removed them city by city, from one end of the border of Egypt even to the other end thereof.
Read halakhic rulings (Jewish law) on Genesis 47:21: and classical halakhic sources.