A Pakistan court on Wednesday dismissed a petition that urged the federal government to issue a visa to a 29-year-old Indian national, who wanted to enter the country so that he could complete a marathon journey on foot to Mecca in Saudi Arabia for Hajj pilgrimage.