Before hi’s father died, the Promised Messiah (as) was told that the time of his death was near. The Promised Messiah (as) was in Lahore at the time, and hastened back to Qadian to his father’s side.
The Promised Messiah (as) writes,
“I found him ill but I did not expect that he would die the very next day, for his illness had taken a turn for the better and he showed great steadfastness. The next day when we were all with him at midday, the day being very hot, he very kindly suggested that I should rest a little. It was the month of June and the temperatures were very high. I retired into an upper room and lay down while a servant gently massaged my feet. In this condition, which resembled light sleep, I received the revelation: “We call to witness the heaven and that which will happen after the setting of the sun.” It was conveyed to me that this revelation was by way of condolence on the part of Allah, the Exalted, and that the occurrence to which it related was that my father would die after sunset, and so it happened.” (Kitab-ul-Bariyya pp. 159-162 footnote)
In accordance with the revelation, the Promised Messiah (as)’s father, Mirza Ghulam Murtaza, a renowned physician, passed away that evening after sunset.