Foreign Office said that the world leaders prayed for Sharif's speedy recovery after tomorrow's operation.
Putin conveyed to Sharif his "heartfelt sympathy as well as wishes for speedy recovery."
Ghani in his message said: "I would like to send my best wishes to Prime Minister Nawaz Sharif and his family. Hope the surgery goes all right. We pray for his speedy recuperation."
Separately, former Afghan president Hamid Karzai sent his wishes in a letter addressed to Sharif, media repoted.
Also Read
British Foreign Secretary Philip Hammond also conveyed his message for Sharif's "complete and speedy recovery from his heart surgery."
Sharif will undergo an open-heart surgery tomorrow, Defence Minister Khawaja Asif had said on Friday.
Asif, also a confidante of 66-year-old Sharif, had said doctors have advised the prime minister to undergo an open-heart surgery, following which he will be staying in the hospital for a week.