Pharaon / Firʿawn
The tyrant of Egypt in the time of Mūsā ﵇. He divided his people into factions, slaughtered the sons of the Banū Isrāʾīl and spared their women; faced with the signs he accused Mūsā of sorcery, claimed to know no god but himself, and had a tower built to climb to the God of Mūsā. He was drowned with his armies, and his faith was not accepted when it came at the hour of drowning; his body was saved to be a sign. Ibn Kathīr names him al-Walīd ibn Muṣʿab, of the ʿAmāliq.
His end is the only place in the Qurʾān where a faith is seen to be rejected. Overtaken by drowning, he said he believed in Him in whom the Banū Isrāʾīl believe and declared himself submitted; he was answered: now? when you disobeyed before and were of the corrupters. His body was saved to be a sign to those who would come after. The scholars draw from it that the repentance of the death-throes does not count.