The attack occurred Saturday in the village of Gwaska in Birnin Gwari, Kaduna state, a police spokesman said.
According to local media reports, women and children were among those killed.
There was an attack on armed bandits stealing cattle and property from the villagers
The Nigerian forces were permanently stationed in the region, said Samuel Aruwan, spokesman for Governor Nasir Ahmad El-Rufai, in a statement  The statement states that the governor is "affected by incessant bandit attacks in the area".
"The government of Kaduna has received sad reports of the assassination of our citizens by armed bandits in Birnin Gwari, and the government has given condolences to the people of the Emirate Birnin Gwari," the statement says.
"The Kaduna government is working tirelessly to fight unfortunate crime and banditry against innocent citizens in Binnin Gwari's local government."
The attack came after local media reported that 1