The leader of a Palestinian Islamist splinter group allied to al Qaeda was among 22 people killed when forces from the Gaza Strip's ruling Hamas movement stormed its strongholds around a mosque, Hamas said on Saturday, Reuters reported.
Local civil rights monitors put the death toll at 28, with some 100 people wounded in Rafah, on the Egyptian border.
In the worst inter-Palestinian violence in two years, 6 Hamas policemen and 6 civilians were among the dead. It exposed bitter tensions in the blockaded coastal strip, where Hamas has imposed its own nationalist brand of Islam while also trying to reach out to the West to end its international isolation.
Three children died, said Hamas officials who blamed the Jund Ansar Allah, or Warriors of God, and its al Qaeda-inspired leader Abdel-Latif Moussa for provoking the attack by declaring an "emirate," or strict Islamic rule, in a sermon on Friday.
The death of a Syrian fighter also challenged denials by Hamas leaders that foreign al Qaeda operatives were in Gaza.
Moussa, a middle-aged physician and local cleric, and an aide named Khaled Banat, a Syrian national of Palestinian origin, blew themselves up after killing a negotiator, the officials said.
Residents in the town of Rafah, still sealed off to the media by Hamas forces, described a night of terrifying violence.
Hamas has ruled Gaza since routing the forces of Western-backed President Mahmoud Abbas in 2007.
The bloodiest internal fighting since then has exposed challenges to Hamas on its radical, pan-Arab Islamist flank as the nationalist movement strives for international acceptance and an easing of an Israeli embargo that has prevented reconstruction since Israel's offensive in Gaza in January.
Among the dead of Moussa's Jund Ansar Allah (Warriors of God) were former Hamas fighters, Rafah residents said, including Abdullah Abu Jazr, who was once a local commander for Hamas.
Police detained dozens of suspected followers of Moussa, who used the al Qaeda-style nom de guerre Abu al-Nour al-Maqdessi and who accused Hamas of failing to impose strict Islamic codes.