Armed men on Tuesday stormed Kabasa village in Zamfara state on motorbikes and opened fire on residents, villagers told AFP.
“The bandits killed seven people in the village,” Kabasa resident Saminu Usman said.
Three soldiers were killed in “fighting with the bandits,” after arriving from the nearby town of Magami to confront the attackers, Usman added.
Bube Badamasi, another resident, confirmed the toll.
Heavily-armed criminal gangs in northwest and central Nigeria have stepped up attacks in recent years, kidnapping for ransom, raping and pillaging.
Zamfara state information commissioner Ibrahim Dosara confirmed the attack on the village, but did not provide casualty details.
The state has been the hardest hit by bandits despite a government offer of amnesty in exchange for renouncing violence and surrendering their weapons.
Last month bandits kidnapped 279 schoolgirls from their hostel in Jangebe village, releasing the girls days later after negotiations.
And in nearby Kaduna state 39 students remain in captivity after being kidnapped last week.