He died on 5 Moharram 1074 AH / 1665 AD. Qazi Abdul Baqi son of Qazi Ibrahim had also close relations with the Durbar of Aurangzeb and had given him charge of appointing 'Qazi' at Tijara. As per the Firman (decree) of Aurangzeb sealed by 'Sadr Sadoor Abid Khan', he was awarded Sanad of Qadaa. He also built various orchards and Havelis like Haveli Kalan, Deewan Khana, Kothi Bagh etc. at Tijara. He had business of horses from Arabian breed. The main gates at the Qazi Mohallah were built by him. In the archive of Tahsil Tijara, dated 1070 AH shows the 'Mafi Bagh' in the name of Qazi Abdul Baqi. Qazi Abdul Baqi had two sons Qazi Ghulam Mohiuddin and Qazi Ghulam Murtaza and died on 30 Jumada al-awwal 1113 AH / 1701 AD. The elder daughter of Qazi Abdul Baqi was married to Abu Saeed bin Abdul Ghaffar of Sakras, while the younger daughter Khwanda Daulat Bint was married to Syed Chajju of Mohina. Syed Chajju had four daughters and four sons Syed Zainuddin, Syed Tajuddin, Syed Imamuddin and Syed Shamsuddin. Syed Zainuddin was married to Ummatullah daughter of Qazi Ghulam Murtaza of Tijara. Syed Tajuddin was married to Halima, daughter of Abdul Hadi ibn Qazi Ibrahim. One daughter of Syed Chajju was married to Syed Abdul Wajid Risaldar of Syed Sarai, Rewari. Syed Mohammad Ashraf Risaldar was his son. Syed Mohammad Ashraf had two sons Syed Yusuf Ali Khan and Syed Saeed Ali Khan. Syed Yusuf Ali Khan had one son Syed Hasan Askari Khan while Syed Saeed Ali Khan had two sons Syed Ahmad Hussain Khan and Syed Qasim Hussain Khan. Syed Yusuf Ali Khan's one Diwan (poetry) in Urdu is extant in the library of Raza Library, Rampur and another Diwan (poetry) in Hindi vernacular is extant in the Khuda Bakhsh Oriental Library, Patna. In the book, 'Tarikh-i Mohammadi ‘ his name is mentioned as one of the important Emirs during the reign of Mohammad Azam Shah. Syed Yusuf Ali Khan was first married to Sharfun Nisan daughter of Ghulam Hussain (brother of Kartalab Khan Qazi Ghulam Mustafa) and had one daughter (married to Syed Mohammad Jalal). With second wife, Syed Hasan Askari Khan was born. Noorullah was the son of Qazi Ghulam Murtaza, and married to Kafia, sister of Mirza Salar Beg ibn Allah Dost Beg (brother Diwan Idris Mohammad). The other sons of