The first mosque was erected in Palayam in 1813
CE, when the
British Indian Second Regiment was stationed in the town. A small mosque, known in local terms as
Pattalappalli, or military mosque, was constructed with an open place for
Eid prayers. In 1824 when the sixth regiment was posted in Palayam its officers bought land, appointed a
Qazithe Labba family (which ended with Sheikh Mansoor Labba)and entrusted documents of the mosque to the
Muezzin. In 1848, when the sixteenth regiment were station in Palayam, its
Jamadars and
Havildars made considerable improvements to the mosque including the construction of a gate and arrangements for the maintenance and upkeep of the mosque building. When other regiments were stationed in the town, its officers brought about further changes and improvements. == Gallery ==