In the middle of the 15th century, a Muslim colony was founded in the mangrove forest of the Sundarbans, near the coast in the Bagerhat District by a saint-General, named Khan Jahan Ali.
The interior is divided into many aisles and bays by slender columns, which culminate in numerous arches that support the roof.
The vast prayer hall, although provided with 11 arched doorways on east and seven each on north and south for ventilation and light, presents a dark and somber appearance inside.
It is divided into seven longitudinal aisles and 11 deep bays by a forest of 60 slender stone columns, from which springs rows of endless arches, supporting the domes, each 1.8 metres (6 ft) thick, slightly tapering walls and hollow and round, almost detached corner towers, resembling the bastions of fortress, each capped by small rounded cupolas, recall the Tughlaq architecture of Delhi.
The western wall features eleven mihrabs on the interior where ten are blind and the central one is projected on the exterior.