Nine people have been killed in two attacks on Coptic Christians in Helwan district, south of Cairo, Egypt’s interior ministry has said.
Six civilians and a policeman died when a gunman tried to storm a church but was intercepted and arrested, it said.
It said the man had previously attacked a Coptic-owned shop in the same area, killing two brothers.
The so-called Islamic State (IS) has claimed its “soldiers” carried out the church attack.
The interior ministry’s account differs from an earlier version of events given by Egypt’s health ministry.
The initial report said 12 were dead, and suggested there were two attackers. It said one had been killed, and the other fled but was later captured.
More than 100 Christians have been killed in Egypt in the past year, with most attacks claimed by the local branch of IS militants.