Boko Haram fighters Monday evening attacked Dapchi, a community in Yobe State.
A resident of the community said the attack commenced at about 7 p.m.
It was gathered that the fighters burnt some houses in the community as residents fled.
Nigerian soldiers later arrived and engaged the fighters in a shootout.
Dapchi is the community where Boko Haram in 2018 kidnapped about 117 female students of a secondary school. Five of the girls died during the kidnap while all others were released except Leah Sharibu for reportedly refusing to renounce her Christian faith.