Posing as a wandering dervish, Burton gained admittance to the holy Kaabah and to the tomb of the prophet at Medina and participated in all the rituals of the Hadj (pilgrimage).