A mosque in Sambhal was surveyed under court orders after a petition claimed it was originally an ancient temple site significant to Hinduism.