The nine-year-old boy had gone to the Kalleshwara Temple in Karnataka's Vijayanagara with his parents.