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 $1.8 billion venture.
Reports said Pakistan wants Iran to fully finance the project due to fears that US sanctions could hit funding for the project.
Iran is facing sanctions
Pakistan to seek full financing from Iran for gas pipeline
Rupee gains tracking peers; dolllar demand stays strong
Pakistan, India should cut defence spending: Nawaz Sharif
Can't promise US drone strikes will stop in Pak: Kerry
Pakistan on high alert after Taliban's 'biggest attack' threat