abd-un-nabi khan, the founder of the masjid was appointed as faujdar of itawa by aurungzeb, after some time he was transferred to mathura. here he remained from 1660 to 1668 till he met his death at sahora, a village in mahaban pargana on the opposite side of yamuna while engaged in quelling a popular uprising.