The police claimed that Zia Ur Rehman Barq visited the Shahi Jama Masjid days before a court-appointed survey and delivered a provocative speech.