Titles of Egyptian Rulers in the Quran
Moses was not the only prophet who lived in the lands of Egypt in the history of ancient Egypt. The Prophet Joseph had lived in Egypt long before the time of Moses.
We encounter a certain parallel while reading about the stories of Moses and Joseph. While addressing the Egyptian ruler at the time of Joseph, the work "malik" (the King) is used in the Qur'an:
"The King (malik) said, 'Bring him (Joseph) to me straight away! so I may draw him very close to me.' When he had spoken with him, he declared, 'Today you are trusted, established in our sight.'"(Quran 12:54)
In contrast, the ruler at Moses' time is referred to as the "Pharaoh":
"We gave Moses nine Clear Signs. Ask the tribe of Israel about when he came to them and Pharaoh said to him, 'Moses, I think you are bewitched.'" (Quran 17:101)
Therefore the miraculous nature of the Qur'an is manifested here once again: Joseph lived at the time of the Old Kingdom, and hence the word "malik" was used for the Egyptian ruler rather than "pharaoh". On the contrary, since Moses lived at the time of the New Kingdom, the ruler of Egypt is addressed as "pharaoh".
Mentioning about Pharaoh in Bible and Quran:
According to modern linguist research the word "Pharaoh" comes from the Egyptian per-aa, meaning the "Great House" and originally referred to the palace rather than the king himself. The word was used by the writers of the Old Testament and has since become a widely adopted title for all the kings of Egypt. However, the Egyptians did not call their ruler "Pharaoh" until the 18th Dynasty (c. 1552 - 1295 BC) in the New Kingdom Period. In the language of the hieroglyphs, "Pharaoh" was first used to refer to the king during the reign of Amenhophis IV (c. 1352 - 1338 BC). We know that such a designation was correct in the time of Moses but the use of the word Pharaoh in the story of Joseph is an anachronism, as under the rule of the Hyksos there was no "Pharaoh." Similarly, the events related in Genesis 12 concerning Abraham (c. 2000-1700 BCE) could not have occurred in a time when the sovereign of Egypt was called Pharaoh, and this exposes yet another anachronism. In several chapters of Genesis we find the same error frequently recurring – some ninety-six times in total. What is clear is that the biblical writers composed their texts under the influences of the knowledge of their time, when the king of Egypt was usually designated as "Pharaoh". The Interpreter's Dictionary Of The Bible explains the reasons of such discrepancies with modern knowledge:
The frank attitude toward the stories about Egypt in Genesis and Exodus is that folk memory had retained the essentials of great Hebrew experience but had later clothed that memory with some details imperfectly recollected and some circumstantial details borrowed from later times and conditions.
The situation is entirely different in the Qur'an. As is the case with the Bible, reference to the sovereign of ancient Egypt is found throughout various chapters of the Qur'an. A careful study of the minutiae of each narrative reveals some compelling differences. With regard to the Egyptian king who was a contemporary of Joseph, the Qur'an uses the title "King" (Arabic, Malik); he is never once addressed as Pharaoh. As for the king who ruled during the time of Moses, the Qur'an repeatedly calls him Pharaoh (Arabic, Fir'awn).
These facts that we have mentioned were unknown at the time of the Qur'anic Revelation. The only source of knowledge of the religious past were the Bible-based stories in circulation. From the time of the Old Testament to the Qur'an, the only document mankind possessed on these ancient stories was the Bible itself. Furthermore, the knowledge of the old Egyptian hieroglyphs had been totally forgotten until they were finally deciphered in the 19th century CE.
There is no doubt that one has to have a knowledge of the history of Egypt in order to make such a distinction. However, the history of Ancient Egypt was completely forgotten by the 4th century, as hieroglyphics could no longer be understood, and was not rediscovered until the 19th century. Therefore, there was no in-depth knowledge of Egyptian history available when the Qur'an was revealed. This fact is yet another one of countless pieces of evidence proving that the Qur'an is the word of God.