According to Abdul Baqir Zein, the mosque was first built in 1700 at the foot of Mount Padang, then moved to the bank of Batang Arau, as the Dutch colonial government intended to use the previous location to build a road to Emma Haven Port.
Since its establishment, the mosque has been used to counsel future hajj participants.