In 1865 he traveled to the cities of Mecca and Medina to perform pilgrimage. On getting the first glimpse of the Kaaba, he prayed:
“Lord I am always in need of thy succor. I beseech thee that whenever I prayed thee of thy mercy, grant my supplication.”
Every supplication he made from this day on was always granted. He also holds the distinction of performing the circuit of the Kaaba at a time when no one else was engaged in performing it. After the Hajj he stayed there for another one and half a year to get higher education in theological subjects from leading Arab religious divines.
He traveled to Arabia in 1869 for a second time and stayed there for two years. On his return to India as an accomplished divine he started a school in Bhera for the purpose of giving instruction in the Quran & the Hadith to students. He opened a medical clinic also. In a short while his reputation as a skilled practitioner in natural medicine spread near and far.
In 1876 he went to Kashmir at the behest of His Highness the Maharajah Ranbir Singh and remained there for fifteen years as his royal physician. Besides his medical practice he continued giving religious instruction in the Noble Quran to palace courtiers, so much so that the Maharajah himself learnt the translation of half of the Quran from him.