the ministry of pilgrimage affairs and religious trusts handles the immense logistical and administrative problems generated by such a huge international gathering. the government issues special pilgrimage visas that permit the pilgrim to visit mecca and to make the customary excursion to medina to visit the prophet's tomb. care is taken to assure that pilgrims do not remain in the kingdom after the hajj to search for work.