The United States had warned that it could invoke sanctions against the Iran-Pakistan gas pipeline project in future, Sharif said without giving details.
He made the remarks while interacting with a delegation of the Pakistan Journalists Forum at his son's home at Jeddah in Saudi Arabia, where he is on a private visit.
Last week, Petroleum Minister Shahid Khaqan Abbasi said Pakistan would continue work on the pipeline and "discuss the project with the new Iranian cabinet for seeking the entire financing" for the USD 1.8 billion venture.
Iran is facing sanctions and the Foreign Office has been asked to assess the impact of US curbs on the pipeline, Abbasi said.
More From This Section
Tehran had told the previous Pakistan People's Party-led government that it would provide a loan of USD 500 million for the project. Pakistan was expected to raise the remaining amount from global financial organisations.
Foreign Office spokesman Aizaz Chaudhry said last week that the government had presented US Secretary of State John Kerry a "non-paper" on the pipeline to convey Pakistan's perspective that the project is being undertaken to address the country's acute energy requirements.
On Thursday, Kerry held out the hope that the drone campaign could end "very soon". His comments were subsequently played down by the US State Department.