Allah has set forth the wife of Pharaoh as an example for all the believers when she said: "My Lord! Build for me a home with You in Paradise (al-Jannah), and save me from Pharaoh and his work, and save me from the people who are Dhaalimoon (polytheists, wrongdoers, and disbelievers in Allah)." (Soorah At-Tahreem, 66:11)
Pharaoh was among the most haughtiest and disbelieving of people. Yet, by Allah, his wife was not harmed by her husband's disbelief and instead obeyed her Rabb.
Abu Ja'far Ar-Raazi relates that Abu 'Aaliyah said: The Eemaan of the wife of Pharaoh came through the wife of the treasurer of Pharaoh.
She (the wife of the treasurer) was sitting and combing the hair of Pharaoh's daughter when the comb fell from her hand. She exclaimed:
"Wretched is the one who disbelieves in Allah!"
The daughter of Pharaoh said, "Do you have a Rabb (Lord) other than my father?" She replied, "
My Rabb, your Rabb the Rabb of your father and the Rabb of all there is!"
The daughter of Pharaoh slapped and hit her for her statement and then went to inform her father Pharoah of this incident.
Pharaoh sent for her and said, "Do you worship a Rabb other than me?" She replied,
"Yes. My Rabb, your Rabb and the Rabb of all there is and He alone do I worship."
Pharaoh then tortured her and had her bound to a stake, tightly tying her hands and legs; he set vipers upon her and left her in that state for some time. One day he came to her and asked, "Do you give up?" She said to him,
"My Rabb, your Rabb and the Rabb of everything is Allah!"
So he said to her, "I will slaughter your son in front of you because of your mouth (i.e. statement) if you don't stop." She replied,
"Do what you will."
He then slaughtered her son infront of her, while which her son's soul gave her the following glad tidings:
"Glad tidings my mother, you will have the reward of such-and-such from Allah."
She then became patient and forbearing until Pharaoh again came to her one day and said the same as he had before. She replied as before, so he slaughtered another of her sons infront of her and his soul also gave her the good news,
"Be patient my mother, for you will have the reward of such-and-such from Allah."
Aasiyah's Trial - Narration one
The wife of Pharaoh heard the speech of the eldest son's soul and then the younger one as well. So the wife of Pharaoh believed and Allah took the soul of the wife of Pharaoh's treasurer. The veil (of darkness and misguidance) was removed from the wife of Pharaoh until she could see her (i.e. the woman's) reward, her station and her honor in Al-Jannah. This gave her faith, surety, and absolute veracity and sincerity.
Ibn Jareer (rahimahullah) narrates: "The wife of Pharaoh asked:
'Who was the victor? (i.e. between Pharaoh and his magicians and Musa and his brother)'
It was said: 'Musa and Haaroon.' So she said,
"I believe in the Lord (Rabb) of Musa and Haaroon."
This was when Pharaoh sent for her and ordered:
"Look for the biggest boulder you can find and if she sticks to her words cast her upon it. If she takes back her words then she will remain my wife."
Ibn Jareer (rahimahullah), after mentioning another chain of narrators, wrote:
"The wife of Pharaoh was tortured under the sun; when he would go away from her they (the birds) would cover her with their wings. She was then even shown her home in Al-Jannah."
When they went to her she raised her eyes to the sky and saw her home in Al-Jannah. This made her stronger and so she stuck to her faith in Allah Almighty. When her soul was being taken out of her, she felt nothing; nothing was thrown onto the boulder except a soulless corpse.
Regarding her words, "My Lord! Build for me a home with You in Paradise (al-Jannah)", the scholars said:
"Aktaaratul-Jaar qabl ad-Daar (She chose the neighbour before the dwelling i.e. Allah Almighty.)"
Aasiyah's Trial - Narration two
Pharaoh said to his cronies, "What do you know about Aasiyah Bint Muzaahim?" They proceeded to praise her so he said to them, "She worships other than me." So they said to him,
"Execute her!"
She was put on a stake and her hands and feet were tied tightly on it and she called upon her Rabb. She said,
"My Lord! Build for me a home with You in Paradise (al-Jannah)!"
and this was accepted for her in Pharaoh's presence so she laughed when she was shown her dwelling place in Al-Jannah. Pharaoh said:
"Aren't you astounded by her madness?! She laughs as I torture her!"
Thus Allah took her soul to Al-Jannah, radiAllahu 'anhaa.