The story of Moses in Islam includes his interaction with the ruler of Egypt, named Pharaoh (Arabic: فرعون, romanized: fir'aun).
The earlier story of Joseph in Islam refers to the Egyptian ruler as a king (Arabic: ملك, romanized: malik).
Mohammad Asad in his commentary on Quran "The message of the Qur'an" reports that pharaoh and Haman were the titles of king of Egypt and high priest of Amon of the kingdom respectively at both Moses' birth story and at the Exodus of Egypt story 80 years later.
[10] Musa admits that he has committed the deed in ignorance, but insists that he is now forgiven and guided by God.
[11] When the Pharaoh demands to see the signs, Musa throws his staff to the floor, and it turns into a serpent.