British Prime Minister David Cameron has warned that Islamic State of Iraq and the Levant (ISIL) fighters based in Syria and Iraq are planning specific attacks against the UK.

Speaking to the BBC on Tuesday, Cameron said the group posed an existential threat to the West, but added that teaming up with Syrian President Bashar al-Assad to fight the organisation was "absolutely the wrong approach."

"There are people in Iraq and Syria who are plotting to carry out terrible acts in Britain and elsewhere and as long as Islamic State exists in those two countries we are at threat," he said.

ISIL ideology: In the name of Islam?

Cameron was speaking after a gunman killed at least 30 UK tourists in an attack on Friday that British politicians have described as the single worst assault on their nationals since the bombing of the London underground in 2005.

The attacker has been identified as Seifeddine Rezgui, a 23-year-old aviation student from Tunisia's Kairouan University, where he had been living with other students.

The attack was claimed by ISIL, but the Tunisian government has disputed this.

The UK is part of a multinational coalition conducting air strikes against ISIL in Iraq, and has sent soldiers to train Kurdish forces battling against the group.

Last year, two UK citizens held hostage by ISIL were executed on camera by a British member of the armed group.

Hundreds of UK nationals have joined the group and British members are believed to have been killed while fighting with ISIL in both Syria and Iraq.

Earlier this month, Talha Asmal became the country's youngest known suicide bomber, when he rammed a car loaded with explosives into an Iraqi army checkpoint.

Source: Al Jazeera And Agencies