Boko Haram fighters had earlier in the day hit Maiduguri, capital of Borno state, ahead of the President’s visit.
The insurgents were said to have attacked three communities at Ngomari airport general area in Maiduguri.
The attackers appeared to have targetted the airport as they struck 10:45am, a few minutes before the arrival of Buhari.
Some locals told Daily Trust that the attackers hit the communities with rocket launchers, killing an unconfirmed number of people, destroying residential areas and properties.
A resident said one of the rockets landed close to an office and two landed in the Ngomari Ayashe community, killing four children, one in Moranti.
“I can confirm that a 16-year-old child, Walida, was affected in the attack. She died instantly; she was cooking when her head got destroyed by the rocket,” the resident said.
At least, 25 people reportedly sustained injuries in the attack, which the authorities are yet to comment on.