Twenty soldiers were killed and nearly 1 000 people left homeless after a militant attack on a town in north-eastern Nigeria, residents and a military source said.
The militants entered Monguno in Borno state posing as soldiers, the sources said. They then attacked troops in the town, destroying at least 750 homes in the process.
Resident Gumati Sadu said people fled into the bush during fighting and three civilians were killed by stray bullets
A military spokesman declined to comment.
Islamic State West Africa Province (ISWAP) claimed responsibility for the attack via its Amaq news agency.
It said one militant detonated a car bomb , killing at least eight soldiers and destroying three armoured vehicles.
The group said it seized a vehicle, weapons and ammunition before leaving.
ISWAP split from Islamist group Boko Haram in 2016 and stages its own attacks in the region.
Boko Haram’s decade-long insurgency campaign killed thousands and displaced millions in north-eastern Nigeria.
Thousands in Monguno were displaced from homes elsewhere in Borno state by militants. Aid group Medecins Sans Frontieres warned many thousands in Monguno lacked proper shelter, water, sanitation and food.