It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Allah created Yahya bin Zakariyya (peace be upon them both) a believer in his mother's womb, and created Pharaoh a disbeliever in his mother's womb."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 10497