The survey followed claims by a group of plaintiffs that the mosque was built over the ruins of a demolished temple.