In a statement shared on X, Sharif said the ceasefire was facilitated through diplomatic efforts and underscored the importance of dialogue in resolving conflicts, Xinhua reported.
Sharif reaffirmed Pakistan's "unwavering support for the sovereignty and territorial integrity of Lebanon."
The prime minister added that Pakistan would continue to support all initiatives aimed at achieving lasting peace in the region.
A 10-day ceasefire between Israel and Lebanon took effect at midnight between Thursday and Friday local time (2100 GMT), following an earlier announcement by US President Donald Trump.