During the reign of Sultan Shah Shuja-Uddin in 1649 AD, Hazrat Shah Niamatullah (R), who traveled from Delhi to propagate Islam, established this mosque in the Ferojpur district of Shibgonj. The mosque features four corner towers and three domes over the prayer chamber. It was constructed in 1650 AD by the revered saint Hazrat Shah Niamatullah (R).