How is the Rambam’s residence in Egypt explained despite the prohibition against returning there?
The first explanation distinguishes entering Egypt from settling there permanently: entry itself was permitted, and the king compelled the Rambam to remain as his physician. His continued residence was therefore a case of coercion. The second explanation limits the prohibition to returning from Eretz Yisroel to Egypt along the route of the Exodus; the Rambam arrived by a different route.
The source brings differing opinions.
Quote from the source«Why was it permitted for the Rambam to live in Mitzrayim?»
- Author
- Rambam; Rabbeinu Shmuel; Rabbi Zushe Wilhelm
- Source
- יש לתמוה — יש לתמוה — pesach booklet small-english w. cover, p. 7