"We have fled, along with our wives and children and hundreds of others," Ibrahim Gobi, who lives in the town of Geidam in Yobe state, said by telephone.
"We are right now running and hiding in the bushes."
Around the same time a Reuters witness said blasts were heard in Maiduguri, the capital of the neighboring state of Borno.
Northeast Nigeria has been hit by the decade-long Boko Haram insurgency with attacks in recent months carried out by offshoot Islamic State in West Africa Province.