The attack happened at about 8:00 pm (local time) in Kuda village near the town of Gulak, in Adamawa state, according to Maina Ularamu, a former local government chairman in nearby Madagali.
Adamawa police spokesman Othman Abubakar, based in the state capital Yola, 255 kilometres away, confirmed the attack.
But he gave a lower death toll of 18 and said "many others were injured".
Ularamu said the attack occurred during a "mourning celebration" to mark the death of a local community leader.
"Gulak has been liberated from Boko Haram but the gunmen still live in villages nearby. They attack mostly to loot food supplies.
"Our people who fled their homes to escape Boko Haram attacks have been returning because they can't live in the camps.
"But now they are facing threats from Boko Haram who launch nocturnal attacks."
Boko Haram threatened to overrun Adamawa state in 2014, sweeping down from their Sambisa Forest stronghold which lies just across the border in Borno state to Mubi, 80 kilometres south of Gulak.
Boko Haram was driven out of the state by a military counter-offensive that began in January 2015 and since there has been a relative calm despite sporadic attacks in the north of the state.
The last attack in Adamawa was on January 9, when seven people were killed and two others injured in a raid on Madagali.
Two female suicide bombers blew themselves up at a market in Madagali on December 28, killing 30, just days after President Muhammadu Buhari declared the Islamists "technically" defeated.
But yesterday's attack is an indication that the rebels, who want to create a hardline Islamic state in northeast Nigeria, are not routed, and still have the capacity to strike.
The army in late April began an assault on Sambisa Forest, which is believed to have pushed out remaining fighters.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
