Hundreds of protesters threw stones at an armoured personnel carrier and dozens of police in riot gear on a road outside the mosque.
| Pakistani police fired tear gas at |
Islamist protesters throwing stones [AFP]
The group chanted slogans against Pervez Musharraf, the president, and called for Ghadi Abdul Aziz to be released.
The mosque had been hastily restored and reopened after it was damaged in fighting between students at the neighbouring religious college and government troops.
Its roof has been replaced, and bullet-scarred walls patched and painted in yellow. The rooftop minarets have been recoated in white.
Kamal Hyder, Al Jazeera's correspondent in Islamabad, said students arrived at the mosque armed with red paint and quickly began repainting the mosque its original colour.