The shooter was shot dead.
They include two members of local security services and two civilians, also women, the Interfax news agency said.
The church's abbot told the RBC news agency that the attack took place at about 4pm as the service concluded and the congregation began to fan... Maslenitsa is a Christian festival marking the last days before the season of Lent.
"The Primate of the Russian Orthodox Church considers this awful crime, committed on the eve of the Great Lent, a provocation aimed at instigating confrontation between [the] Orthodox and Muslims, who have been coexisting peacefully for ages in the Caucasus", his spokesman said, RT reported.
Ethiopia says state of emergency after PM resigned will last six months
Rights groups claimed people were beaten and subjected to arbitrary detentions under the previous emergency rule. Siraj says security forces are instructed to take "measures" against those disturbing the country's functioning.
She said: "There were a lot of people there, mums with little children, elderly people".
"We had finished the mass and were beginning to leave the church", Father Pavel was quoted as saying. The Daesh terror group reportedly claimed responsibility for the attack.
Dagestan, located in Russia's North Caucasus, is an ethnically diverse and largely Muslim federal republic.
It has been the scene of an Islamist insurgency following separatist wars in neighbouring Chechnya.