To my surprise i saw a Jama Masjid there.
The Jama Masjid of Bodh Gaya is right behind the western wall of the Mahabodhi Temple.
The Imam there told me it was built or facilitated by the British in the 19th century for the Muslim workers on temple restoration.
In 1967 they opened a madrasa & renovated it
Unfortunately nothing of the old structure is left.