According to the Somali National News Agency (SNNA), the blast occurred in Mogadishu’s Hodan district, near two schools and the residence of former president Abdikasim Salat Hassan.
According to SNNA, police say the target was an armored vehicle protecting the United States.
The East African Somali capital has been rocked by bomb attacks, in which dozens have been killed or injured.
The bombings have been linked to the notorious terrorist group al-Shabaab, which has claimed responsibility for some attacks in the past.
Al-Shabaab claimed responsibility for the attack on the facility which was hit twice within a year.
At least one person was killed and 10 were injured in that attack.
Al-Shabaab had earlier claimed responsibility for a bombing at the gate of Mogadishu’s Afrique Hotel in January.
The al-Shabaab Islamic sect was driven out of Mogadishu in 2011 by local forces with the help of the Union of Africa, but the militant group has continued to carry out deadly attacks in the city.