MAy God Bless and heal him and comfort him and his family. When my husband was told he had weeks to live, despite all we did, we were shocked as we expected a miracle. We asked God to help us as we did not know how to talk to our two daughters who were praying and expecting their dad to be healed. God led us to the passage from Wisdom 4:7-15. It helped all of us especially our kids and my husband in his last days.
"But the righteous man, though he die early, will be at rest. For old age is not honored for length of time, nor measured by number of years; but understanding is gray hair for men, and a blameless life is ripe old age. There was one who pleased God and was loved by him, and while living among sinners he was taken up. He was caught up lest evil change his understanding or guile deceive his soul. For the fascination of wickedness obscures what is good, and roving desire perverts the innocent mind. Being perfected in a short time, he fulfilled long years; for his soul was pleasing to the Lord, therefore he took him quickly from the midst of wickedness. Yet the peoples saw and did not understand, nor take such a thing to heart, that God's grace and mercy are with his elect, and he watches over his holy ones.
You, your friend and his family are in my prayers