The earliest historical record of a mosque comes from Jai Singh II, a Rajput noble in the Mughal court, who purchased the land of the mosque and the surrounding area in 1717. His documents show a three-domed structure resembling the mosque, which is however labelled the birthplace (chhathi). In the courtyard can be seen a platform (chabutra) to which Hindu devotees are shown circumambulating and worshipping. All these details were corroborated by the Jesuit priest Joseph Tieffenthaler half a century later. Tieffenthaler also said that The reason for this is that once upon a time, here was a house where Beschan [Vishnu] was born in the form of Ram.