A curfew is in place near the Pakistani capital after clashes during a religious procession left eight dead.
The violence began when Shi'ite Muslims observing the holiday of Ashura went into a Sunni seminary and dragged out at least two people who they beat to death on the street.
The Shi'a said the Sunnis had shouted insults at them.
At least 34 others, many of them police, were injured trying to stop the violence in Rawalpindi, which is near Islamabad.
Several shops near the seminary were also set on fire. Gunshots were also reported.
Soldiers eventually restored order.
Ashura commemorates the seventh-century death of the Prophet Muhammad's grandson Hussein; conflict between Sunnis and Shi'a dates to that time.
Between 5 and 20 percent of Pakistanis are Shi'ite Muslims.
Based on reporting by dpa and "Dawn"