Gurudwara Sri Gani Khan Nabhi Khan is situated in the Machiwara town of Ludhiana district. This holy land of Machiwara Sahib was once touched by sarbansdani Dashmesh pita ji & satGuru ji came here from gulabe & Punjabe's house. Gani khan nabi khan went and requested satGuru ji to come to their house & bless them. On coming here gani khan nabi khan noticed that there were too many informers roaming around so he requested that if sacche paatshah can come in a blue dress, then it would become easy for them to serve. Then it was ordered that a dyer should be brought. A dyer was called upon & satGuru ji ordered him to color his clothes. The dyer replied that satGuru ji the clothes are dyed when the matti (a large earthen pot) is fully prepared & it takes 3 days time to get that prepared once the color is put. SatGuru ji ordered that the matti is already prepared & when the dyer went & saw it, he was amased to see the matti boiling. The dyer got sure that he is a hermit of god & should ask for something from him. After coloring the clothes & presenting it in satGuru ji's feet, the dyer stood with his hands folded. SatGuru ji wanted to pay something in return for coloring the clothes but the dyer refused to take it. SatGuru ji asked him that what does he want ? The dyer requested that Guru ji i donot have any child , kindly bless me. The second request is that i am unable to earn enough for a living, not able to pay off the debt earned by color. Kindly bless me. Guru ji replied that the matti in which you have colored my clothes, you need not add any color into it from now onwards. Whatever color you think in your heart & dip the cloth, the cloth will be colored with that color. Keep the matti covered & donot tell this secret to anyone.the place where the dyer got happy & went away, Gurudwara chaubara Sahib exists on that place which is around 500 yards from this place where you can visit & see the matti Sahib. Gani khan nabi khan requested that even they donot have any child to which satGuru ji said that your service has already been accepted & whatever blessings were given are listed in the hukamnama. Dashmesh pita stayed at this place for 2 days & 2 nights. From this place, Guru ji along with Gani Khan Nabi Khan, Bhai Daya Singh ji, Bhai Dharam Singh ji, Bhai Maan Singh ji went to Gurudwara kirpan bhet Sahib in a paalki, which is about 2 kms away from this place, going through Gurudwara katana Sahib via Village rampura kanech went towards alamgir.
This Gurdwara is situated at a distance of 35 Km from Ludhiana City, 9 Km from town Samrala and 46 Km from District Rupnagar inside town Machhiwara.
The Gurdwara is situated at the place where the house of Ghani Khan and Nabi Khan once existed. Bhai Ghani Khan and Bhai Nabi Khan were devotees of Tenth Sikh Guru, Shri Guru Gobind Singh Ji and they used to supply horses to Guru Ji at Anandpur Sahib. They brought Guru Ji from the house of Gulaba and Punjaba Masands to their house. Guru Ji stayed at this place for two Days and two Nights. Here Guru Ji blessed both of them and whatever blessings were given are contained in a 'Hukamnama Dashmesh Pita' (Religious order), a photocopy of which is preserved in this Gurdwara. From this place Guru Ji left for Alamgir with Bhai Ghani Khan, Bhai Nabi Khan and three Sikhs. These devotees carried Guru Ji in a Palaquin and declared him 'Uchch Da Pir'. So this Gurdwara is also known as Gurdwara Uchch Da Pir'.
Note: Sri Guru Gobind Singh ji, while accepting the service of Gani Khan Nabi Khan, gave this hukamnama to him at Gurudwara Alamgir Sahib. The photocopy of the same has been kept at Gurudwara Gani Khan Nabi Khan.