Then he performed the Hajj .
While he was in Medina , he had a vision of Muhammad who directed him to go to Ajudhan ( present day Pak Patan ) and meet Fariduddin Ganjshakar .
Then he performed the Hajj , and while he was in Medina , he had a vision of Muhammad who directed him to go to Ajudhan ( present day Pak Patan ) and meet Fariduddin Ganjshakar .