"The Government and people of Pakistan express solidarity with the affected people of Nepal and India and offer all possible help that may be required in their hour of grief," Foreign Office (FO) said in a statement.
Sharif, who is visiting Britain, offered condolences and help besides instructing its Missions in the two countries to approach their respective host governments to ascertain the damages caused and the requirement of relief assistance, according to the FO.
Pakistan's National Disaster Management Authority (NDMA) has been directed to offer assistance at short notice.