"The news of a terrible bus accident in Punjab province deeply saddened us. May Allah have mercy on the victims of the accident and give those injured a speedy recovery. We express our condolences to the families of the victims and brotherly People of Pakistan," Azerbaijani Foreign Minister Jeyhum Bayramov said on Twitter.
Rescue officials said the accident occurred when a bus collided with a container truck at about 5.40 am (0040 GMT) in Dera Ghazi Khan district 466 km (289 miles) southeast of Lahore.
The injured and dead were taken to a nearby hospital by the rescue service.
As many as 30 people have died, and 74 have been wounded.