The attack in Tungan Duste, a community in the Anka local government area of Zamfara state, is the latest assault on civilians in Nigeria's northern region, where attacks are frequent. In nearby Kebbi, 33 people were killed in simultaneous attacks last week.
The African Union, which includes 55 member states on the continent, condemned the attack Sunday and called for the release of abducted women and children.
"The African Union unequivocally rejects all acts of terrorism and violent extremism against civilian populations, particularly women and children, as grave violations of human rights and serious threats to peace, security, and stability," the organization said in a statement.
Nigeria is battling a complex security crisis from different armed groups. The United States has sent troops to the West African nation to help advise its military on the fight against insecurity.