Police said that there were stone peltings and attempts to torch vehicles; there was a court-ordered survey at the mosque over claims of being a temple site