The mosque was surveyed on Tuesday on the orders of a local court following a petition that claimed that a Harihar temple originally stood at the site.