Eyewitness said the incident occurred at about dawn prayer time at Fulatari ward in Buni Yadi.
The News Agency of Nigeria gathered that the injured persons had been taken to hospital and were in stable condition.
Buni Yadi, a former stronghold of Boko Haram insurgents, was reclaimed by security forces in 2015 and currently has army formations, including a military training institution.
The spokesman of 3 Division, Nigeria Army, Col. Kayode Ogunsanya, could not be reached for comments as his phone was switched off.