Sheikh Ghamidi, who is on a four-day visit to Pakistan, primarily as part of Saudi Arabia's efforts to form public opinion about the country joining Saudi-led coalition forces fighting rebels in Yemen.
Addressing a 70,000-strong gathering, including women and children, at the Grand Jamia Mosque, the country's largest mosque, the Imam advised Muslims to stay clear of any sectarian divisions.
"Islam is a clear and open religion. Allah directs us to forgive each other. Muslims should respect other sects and religions. Islam prohibits religious discrimination and hatred.
Prime Minister Nawaz Sharif and Army Chief Raheel Sharif visited Saudi Arabia yesterday and assured King Salman of Pakistan's full support to the Kingdom in its fight against the Shia Houthi rebels.
The Punjab government described the purpose of Imam Ghamidi's visit as "promotion of polio vaccination campaign in Pakistan".