Yehoshua Hanagid (Hebrew: יהושע הנגיד), alternative spelling: Jehoshua Hannagid (1310–1355), was a rabbinic scholar and judge, who began to serve as the Nagid in Cairo, Egypt, at the age of twenty-four.
The letters found in the Cairo Geniza attest to the fact that he was a provider and spiritual shepherd of the Jews of Egypt.
In one of his letters he instructs the community on the manner in which they are to exact the poll-tax (jizya) from their Jewish brethren in Egypt, the style of which is noted for its tone of gentleness.
In 1346, the Nagid carried on a correspondence with Rabbi David ben Amram Adani, the leader of the Jewish community in Yemen and author of the Midrash HaGadol, in which the Nagid answers a number of questions sent to him (al-mas’āyil = אלמסאיל), mostly on matters relating to what seems to be contradictions between two halachic rulings in Maimonides' Mishne Torah and his Sefer ha-Mitzvot, although other questions simply relate, not to Maimonides, but to one of the other rabbinic sources, such as the words of the Sifra, in affirmative command no.
Some of the questions deal with practical halacha, such as those addressed in Seder Ahavah and Zemanim of Maimonides' Mishne Torah, as well as on the laws affecting women and marriages.