In Varanasi, one of the world's oldest living cities, Hindus and Muslims have prayed close to each other in a temple and a mosque that sit cheek by jowl.

The heavily-guarded complex points to its uneasy history. The Gyanvapi mosque is built on the ruins of the Vishwanath temple, a grand 16th Century...