All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad,
, is His slave and Messenger.
If by jinn possession you mean that one loses his consciousness and becomes like a mad person who is not held accountable for his deeds, then Pharaoh was not like this. Rather, he was in sound mind and fully conscious about his acts; that is why Allaah punished him for his sins. Allaah destroyed him in this world and made Hellfire his abode in the Hereafter. Allaah Says (what means): {The Fire; they are exposed to it morning and evening. And the Day the Hour appears [it will be said], ‘Make the people of Pharaoh enter the severest punishment.’}[Quran 40:46]
However, if you mean that the devil lured Pharaoh, took control of him and misguided him, then this is true. Allaah Says (what means): {And whoever is blinded from remembrance of the Most Merciful — We appoint for him a devil, and he is to him a companion. And indeed, they [i.e. the devils] avert them from the way [of guidance] while they think that they are [rightly] guided.}[Quran 43:36-37]