KXIP vs KKR Live Score

A gunman clashed with police outside a Coptic church in Cairo on Friday after trying to break through security barriers protecting the site.

At least three people, including two policemen, have been killed after a gunman opened fire outside a Coptic Christian church outside Cairo.

The Islamic State asserted responsibility for Friday's assault.

Ismail is suspected to have links to several past attacks, including one by a group that opened fire on a police bus previous year in Cairo.

The UK Guardian cites Egyptian media sources that say at least one attacker was able to flee the scene, while another was overpowered and restrained by police and bystanders.

Egypt's Coptic Christians make up about 10 per cent of the country's 93 million people, and are the largest religious minority in the region.

The gunman killed at least nine people, including a policeman, at the church, according to Interior Ministry and Coptic Church accounts.

The attack on the church came a day after six Egyptian soldiers were killed in a roadside bombing in the Sinai. One attacker carrying explosives was reportedly shot and killed by security forces and another was arrested.

The Commissioner for European Neighborhood Policy and Enlargement Negotiations, Johannes Hahn, condemned firmly on Saturday the "heinous terror attack" on the church in Helwan city, southern Cairo, on Friday.

Cellphone footage posted on social media appeared to show gunman barely conscious, as people restrained his arms and then handcuffed him.

Majority belong to the Coptic Orthodox Church.

Correction: An earlier version of this article reported that Ismail, the suspected gunman, had been killed.