Two political parties in the Middle East designated as terror groups by Canada predict the Islamic State movement won't survive and question why they're blacklisted when co-operation could defeat the common enemy.

Representatives of both Hezbollah and Hamas in Lebanon have separately condemned the Islamic State in interviews.

Prime Minister Stephen Harper has denounced the jihadi militants, a position he has used to buttress Canada's involvement in the U.S.-led coalition conducting air strikes in Iraq and Syria.

Story continues below advertisement

National security is a key issue in the Oct. 19 federal election.

The Islamic State is "not accepted" by most Muslims represented by Hamas, said its boss in Lebanon, Osama Hamdan.

A source close to Hezbollah's top leadership said extremist movements "mushroom, but they never last and don't find a place with moderate Sunnis and Shias.

"There will always be radical thinking in the world," said the man, who agreed to speak on anonymity, through a translator.

"We had called for the largest coalition to fight terrorism. We had also called upon religious scholars in this region to condemn this phenomenon."

A political analyst with the American University of Beirut said the tough talk could signal more shifting alliances.

"It's possible you could have Canada and the U.S. working with Hezbollah and Hamas against ISIL if they're seen as a common threat – which they are," said Rami Khouri, who has 45 years of experience in the region. "But it's not happening right now. If it did happen, it would be in different political circumstances."

Story continues below advertisement

Canada has joined the United States and Israel in outlawing Hezbollah and Hamas. Some countries, including Australia, blacklist just their military wings, while the Lebanese government recognizes the party and its MPs.

The federal government describes Hezbollah as a "radical Shia group" ideologically inspired by the Iranian revolution. It calls Hamas a "radical Islamist-nationalist terrorist organization" that emerged from the Palestinian branch of the Muslim Brotherhood.

Public Safety Canada has posted online profiles of the two organizations, outlining terror acts including the 1983 suicide bombing of U.S. Marine barracks in Beirut by Hezbollah and suicide attacks on Israelis by Hamas.

It's clear that whatever party forms the next government in Canada, Islamic State will still be considered an enemy. Mr. Harper has said it would be "absolutely foolish" not to go after the militants before they can come after Canada. Liberal Leader Justin Trudeau favours training local troops, while NDP Leader Thomas Mulcair has rejected the mission as "wrong headed" because it's led by the United States.

The Hezbollah source said ideally Canada would be an ally. "It's a country that we respect."

Hezbollah shouldn't be on Canada's list of banned terror entities, he said.

Story continues below advertisement

"What did we do in Canada to be designated a terror group?" he asked, adding it shouldn't be incumbent upon Hezbollah to persuade Canadian officials to scrub the group from its blacklist.

The meetings with The Canadian Press took place during Ramadan last month within Hezbollah-controlled quadrants of Beirut's southern suburbs. The source close to Hezbollah said the group might be open to co-operation with non-typical allies – such as the U.S. – against the militants.

"When the U.S. designated us as a terrorist organization, Canada did the same," he said. "There isn't any justification to be on the terrorist list, but (Canada calls) fighting Israel terrorism. We say, 'No, it is resistance, not terrorism.'" Hamas's chief pointed to Canada's economic and policy alignment with Israel over Palestine as a source of animosity.

The Department of Public Safety declined comment, while the Department of Foreign Affairs did not respond to interview requests.