Security forces cleared a Cairo mosque after a gunbattle with followers of the Muslim Brotherhood on Saturday, while Egypt's army-backed government, facing deepening chaos, considered banning the Islamist group.
Three Reuters witnesses saw gunmen shoot from a window of the al-Fath mosque, where supporters of deposed president Mohamed Mursi had taken shelter during ferocious confrontations in the heart of the Egyptian capital on Friday.
Another gunman was shown on television shooting from the mosque's minaret and soldiers outside returning fire. Hours later, police moved in and secured the building, making scores of arrests as crowds on the streets cheered them on.
It was not clear if anyone died in the clashes - the fourth day of violence in Egypt, which has killed almost 800 people. Troubles were also reported in the second city Alexandria, where an office run by the Muslim Brotherhood was set ablaze.
With anger rising on all sides, Prime Minister Hazem el-Beblawi proposed disbanding the Brotherhood, raising the stakes in a bloody struggle between the state and Islamists for control of the Arab world's most populous nation.
"We are not facing political divisions, we are facing a war being waged by extremists developing daily into terrorism," presidential political adviser Mostafa Hegazy told reporters.
"We will win this war not only with security procedures, but according to the law and within the framework of human rights."
If Beblawi's proposal to disband the Brotherhood is acted on, it would force the group underground and could herald large-scale arrests against its members placed outside the law.
Many Western allies have denounced the recent wave of killings, including the United States, alarmed by the mayhem in a country which has a strategic peace treaty with Israel and operates the Suez Canal, a major artery of global trade.
However, Saudi Arabia threw its weight behind the army-backed government on Friday, accusing its old foes in the Muslim Brotherhood of trying to destabilize Egypt.
The health ministry said 173 people died in clashes across Egypt on Friday, including 95 in central Cairo, after the Brotherhood called a "Day of Rage" to denounce a crackdown on its followers on Wednesday that killed at least 578 people.
Fifty-seven policemen died over the past three days, the interior ministry said.
Among those killed on Friday was a son of Muslim Brotherhood leader Mohamed Badie, shot dead close to al-Fath mosque, which was rapidly transformed into a makeshift morgue and a refuge for hundreds of Mursi's supporters, looking to escape the bloodshed.
The building was surrounded overnight and police fired volleys of tear gas into the carpeted prayer hall in the early afternoon, filling the hall with billowing white smoke and leaving those inside gasping for breath.
Soon afterwards gunshots rang out from both sides.
Egyptian authorities said they rounded up more than 1,000 Islamists after Friday's protests, showing one handcuffed man on television with an automatic gun on his lap.
Security sources said Mohamed Al-Zawahiri, the brother of al Qaeda leader Ayman Al-Zawahiri, had also been detained.
"Friday was a very bad, ugly day. There were attacks on police stations, ministries. The situation is very bad," the prime minister told reporters. "There will be no reconciliation with those whose hands have been stained with blood and who turned weapons against the state and its institutions."
The Brotherhood was officially dissolved by Egypt's military rulers in 1954, but registered itself as a non-governmental organization in March in a response to a court case brought by opponents of the group who were contesting its legality.
Founded in 1928, the movement has deep roots in the provinces and has a legally registered political arm - the Freedom and Justice Party - which was set up in 2011 after unrest that led to the downfall of the autocratic Hosni Mubarak.
The Brotherhood won all five elections that followed the toppling of Mubarak, and Mursi governed the country for just a year until he was undermined by mammoth rallies called by critics who denounced his rule as incompetent and partisan.
Army chief Abdel Fattah al-Sisi says he removed Mursi from office on July 3 to protect the country from possible civil war.
Brotherhood spokesman Gehad El-Haddad said on Saturday the police had started to arrest the sons and daughters of the organization's leadership in an effort to gain leverage.
Despite the bloodshed, the Islamist group has urged its supporters to take to the streets every day this coming week, but there was no sign of large rallies by late Saturday.
"Our rejection of the coup regime has become an Islamic, national and ethical obligation that we can never abandon," said the Brotherhood, which has accused the military of plotting the downfall of Mursi to regain the levers of power.
In the first attack of its kind yet reported, a bomb blast ripped through the garden wall of the Egyptian consulate in the city of Benghazi on Saturday in neighboring Libya, injuring a security guard. No one claimed immediate responsibility.
Worryingly for the Egyptian army, violence was reported across the country on Friday, with deaths reported in at least eight cities and towns, suggesting it might struggle to impose control on the vast, largely desert state.
The government said 12 churches had been attacked and burned on Friday, blaming the Islamists for the destruction.
Foreign journalists in Cairo said they faced regular harassment as they tried to report on the clashes, with a number detained by police and civilian vigilante groups unhappy with coverage of the disturbances.