At least 30 people were killed when a bomb exploded at the main gate of a government-run hospital in south-western Pakistan, police said.
Senior police official Zahoor Ahmed said dozens of other people were injured in the blast in the city of Quetta on Monday.
No-one immediately claimed responsibility for the attack.
The explosion took place shortly after the body of a prominent lawyer killed in a shooting attack earlier in the day was taken to the hospital.
It was also unknown who was behind the killing of the lawyer, Bilal Kasi, who was gunned down on his way to court.
Police official Afzal Khan said dozens of lawyers and journalists were present inside the hospital when the bomb went off.
Anwalullah Kakar, the government spokesman in south-western Baluchistan province, said an investigation is under way.