When news reached Fir'own of his wife's strong faith in God he beat her and commanded his guards to beat her. They took her out in the scalding noon heat, tied her hands and feet and beat her perpetually. Who did she turn to? She turned to God the Supreme! She prayed, "My lord, build for me a home with you in Paradise and save me from Fir'own and his deeds and save me from the transgressive people."
It was narrated that when she said this the sky opened for her and she saw her home in Paradise. She smiled. The guards watched astonished thinking: she's being tortured and yet she smiles? Frustrated, Fir'own commanded a boulder to be brought and dropped on Aasiyah to crush her to death. But Allah took her soul before the boulder was brought and she became an example for all the believing men and women till the end of time:
And Allah has set forth an example for those who believe: the wife of Fir'own (Pharaoh) - when she said, "My Lord, Build for me a home with You in Paradise, and save me from Fir'own and his deeds, and save me from the transgressive-disbelieving people. - Surah Tahreem 66/11