Gurudwara Baba Al Mast Sahib is constructed in the memory of Baba Al Mast Sahib Ji.
During the time of the Sixth Guru Sri Hargobind Sahib Ji a Sikh called Al Mast used to serve this shrine under the Pipal tree, sanctified by the Guru's visit.
He was pestered by Gorakh Panthis to vacate the place as they wanted to re-establish their centre there. He had been expelled from his shrine by the Jogis who had also burnt the sacred pipal tree under which Guru Nanak Dev Ji had a debate with the followers of Gorakh Nath.
On account of the troubles of Baba Al Mast Sahib Ji, the Sixth Guru Sri Hargobind Sahib Ji decided to visit Nanakmatta , taking with him a troop of his armed retainers. The Jogis, in order to terrify him, made a show of their supernatural powers, but could produce no effect on the Guru, and thus retreated.
Guru Ji took the possession of this place again and restored it as Sikh shrine. Guru Ji sprinkled saffron on the pipal tree which came back to its full bloom.