Five Nigerian soldiers and more than 15 Boko Haram fighters were killed when the jihadists attacked an army base in the remote northeast where the group has been fighting for an Islamic state, a military source said on Sunday.
Boko Haram attacked an army brigade in Buni Yadi in Yobe state late on Saturday, an army spokesman said by text message, without giving a casualty figure.
"Five soldiers lost their life in the attack though more than 15 Boko Haram were killed by troops," the military source said.
Several explosions could be heard on Sunday in Maiduguri, capital of Borno state where Boko Haram started its seven-year insurgency that has killed about 15,000 people and displaced more than 2 million.
Officials or medics were not immediately available to give a casualty figure.