Army chief Gen Odawa Yusuf was coming from the army headquarters at Ministry of Defence in Mogadishu.
He has escaped unharmed.
No group has said they are behind for the attack yet but the Islamist militant group al-Shabab has previously targeted government officials.
Lagos doctors strike over coronavirus safety
BBC News, Abuja
Doctors in Nigeria's Lagos state have
started a three-day strike over safety fears during the coronavirus pandemic.
Chairman of the Medical Guild Dr Oluwajimi Sodipo told the BBC that doctors on the front line dealing with patients infected with Covid-19 are at risk and the government needs to act quickly to address their safety fears.
They are asking for adequate personal protective equipment, insurance and prompt
testing of health workers.
Dr Sodipo said that doctors working in Covid-19 isolation
centres in Lagos are owed two months' wages.
He added that they are also demanding the government addresses a wage disparity between doctors working with federal hospitals and those in Lagos state hospitals.
The Lagos state government said it has met with the doctors and is hoping for
a quick resolution.
Lagos remains the epicentre of the pandemic in Nigeria.
There are currently 12,427 confirmed cases in
Lagos and 172 people have died of the virus in the state.
Tangier goes into full-scale lockdown
BBC World Service
Morocco has brought in a full-scale lockdown in Tangier after new clusters of coronavirus infections emerged in the port.
Road and rail transport in and out of Tangier is being suspended, while residents are being asked to stay at home - only leaving in cases of extreme necessity.
Moving within the area in and around Tangier will require authorisation from the local authorities, while a special travel permit will be required to leave the city.
Official figures in Morocco show that there have so far been almost 16,000 coronavirus cases with 253 deaths.
Kagame blames Kenya and Uganda for long cargo delays
Business correspondent, BBC News
Rwanda's President Paul
Kagame has complained about neighbouring nations Kenya and Uganda causing
delays to imported goods because of the requirement to test truck
drivers for Covid-19.
The Rwandan leader's comments
are prompted by long delays for road cargo, as drivers are tested at the border
by the Kenyan and Ugandan authorities.
Rwanda is a landlocked country
and imports either travel through a northern corridor from Kenyan port city Mombasa, or a route
further south from Dar es Salaam in Tanzania.
President Kagame said "coronavirus is killing people, business and even relationships" and
he called the delays "unfair".
However, he did not mention how
Rwanda was the first country in the region to close its borders, at the onset
of the pandemic, which disrupted the transport of cargo to Burundi and the
Democratic Republic of Congo.
Mr Kagame's comments could raise tensions within the East African Community, at a time when the regional
bloc needs political unity to cope with the economic impact of the pandemic.
Uganda's Stella Nyanzi 'arrested in a protest march'
Ugandan police have arrested academic and activist Stella Nyanzi and two Makerere University students, reports Uganda's Daily Monitor.
The three had been protesting over last week's death of a student, Emmanuel Tegu, allegedly following an assault at the university.
The Daily Monitor reports that they were arrested while walking to parliament to present a petition demanding justice for the killed student.