He also ran the office of the Chief Justice and stayed the Governor of Sindh and connected areas of Punjab in the Kalhora era. Makhdoom was also a feudal lord and tribe chieftain. He was the leading Islamic theologian and the Imam of the Grand Mosque at Thatta. He engaged himself in missionary duties and was famous among Sufis. He wrote Madah Nama Sindh, Dirham al-Surrat Fi Wada al-Yadayn Taht al-Surrah, Al-Baqiyat as-Salihat and other books. His religious dictums shaped Sindhi culture and Islamic tradition in Sindh. He was believed to be a leading expert authority on the Fatwa-e-Alamgiri. He belonged to the Qadri order of Sufism, and followed the Hanafi school of thought. He has a large following throughout the Muslim world specially in Sindh and Thatta district in specific.
Makhdoom belonged to a very traditional, religious and educated family and received basic education from his father Makhdoom Abdul Ghafoor. His father taught him to memorise and recite the Quran. He further learned Persian language and Fiqh at home and travelled to Thatta the centre of education, poetry, spiritual grooming and culture of the time for receiving higher education. It was in the time of the Kalhora dynasty when Sindh was at its peak in reference to rich culture and economic progress. Scholars, poets, intellectuals were found in abundance and such people were very much obeyed, trusted and respected. Thatta had been entirely unique as in the year 1111 Hijri, it had 400 high schools and 1400 mosques and is considered a unique city even today. All this attracted Makhdoom Hashim to come to Thatta and attend Arabic classes from Makhdoom Saeed. Makhdoom Muhammad, by his immense intellect and sharp mind, finished the curriculum which was usually completed in six years, in just six months. This made Makhdoom earn a lot of popularity among the great scholars and common people who used to come and visit him from far away areas and places. So he became a source of attraction for many people and they began to see him as their spiritual master. Makhdoom Muhammad went to Makhdoom Zia uddin Thattvi to learn the science of ahadith and associated matters. It took him nine years to learn Persian and Arabic. Meanwhile, his father Makhdoom Abdul Ghafoor died on 1113 Hijri in the blessed month of Dhul-hajj and was buried in his place at Sehwan. Makhdoom visited Makkah and Madinah and learned exegesis, hadiths, religious fundamentals, tajwid and fiqh.
Books
He wrote 400 books in Arabic, Sindhi and Persian including:
Madah Nama Sindh : The book contains merits and values of Sindh and Sindhi society in the 18th century.
Dirham al-Surrat Fi Wada al-Yadayn Taht al-Surrah. This is a short book that proves the Hanafi way of keeping hands in Qiyam during prayer is proved by Sahih Hadith.
al-Baqiyat as-Salihat : This book describes the biographies of prophet Muhammad's wives and some other great Islamic figures.
His authored books are included in the syllabus of Al-Azhar University today as well. Some of his books have recently been translated into Sindhi by Allama Muhammad Idrees Dahiri and Ghulam Mustafa Qasmi, including Madah Nama Sindh, al-Baqiyat as-Salihat and Khamsat at-Tahirah.
Alleged miracle
On Friday, 12th OF Rajab 1135 Hijri, Makhdoom Hashim was at Madinah and presented greetings at the resting place of Muhammad and reportedly received the greatest gift in the form of reply of the greetings from Muhammad himself: "Waalaykum as-salam ya Muhammad Hashim". There were two Muhammad Hashims who both felt Muhammad had replied to them alone. To end the confusion they agreed on trying again and this time Muhammad reportedly replied: "Waalaykum as-salam ya Muhammad Hashim Thattvi." A Persian phrase describes this event:
Mausoleum and shrine
Thousands of devotees and followers visit his mausoleum and shrine every day which is located in Makli, Thatta, near the historical Makli graveyard. Many followers are buried alongside his shrine. Few of the names of the notables resting there are as follows: Ubaidullah Sindhi and Hassam-ud-Din Rashidi.
Makhdoom Hashim's urs is celebrated every year on the 6th of rajab at the shrine. The day's proceedings involve recitation of the Quran, hymns and praises of Allah and Muhammad and the Prophet, and religious discourses are given by local orators and scholars.