The people were greatly terrified. The King asked Isaiah: "What did Allah reveal to you regarding Sennacherib and his army?" He replied: "He has not yet revealed anything to me." Then the revelation came down for King Hezekiah to appoint a successor, as he wished, because his end was at hand. When Isaiah told him this, the king turned to the qibla (the direction faced in prayer); he prayed, glorified Allah, invoked Him, and wept. Weeping and invoking Allah the All-Powerful and Majestic with a sincere heart, trust and patience, he said: "0 Lord of lords, and God of gods! 0, Benevolent and Merciful One Whom neither sleep nor nodding can overpower, remember me for my deeds and my just judgment over the children of Israel; and all that was from You, and You know it better than I do, my open acts and my secrets are with You."
Allah answered his prayers and had compassion on him. He revealed to Isaiah to tell him the glad tidings that He had compassion for his weeping and would extend his life for a further fifteen years and save him from his enemy, Sennacherib. When Isaiah told this to Hezekiah, his disease was healed. Evil and sadness departed, and he fell prostrate, saying: "0 Lord, it is You Who grants kingship to whomsoever You wish and dethrones whomsoever You wish and elevates whomsoever You wish and degrades whomsoever You wish, Knower of the unseen and the evident. And lo! You are the First and the Last; the Manifest and the Perceived; You grant mercy and answer the prayers of the troubled (ones)."
When he raised his head, Allah revealed to Isaiah to command the king to extract the water of the fig and apply it to his sore, and he would be whole and cured. He did so and was cured.