The prime minister's office confirmed the attack in a statement, adding that the spokesman's injuries were "not serious."
The attack, as described by a local witness, was later claimed by the Al-Shabaab group.
Eyewitness Dahir Mohamed Mohamud described the incident in Mogadishu, the capital.
"I noticed the automobile speeding up and turning left as a man caught the side of it; I'm not sure if he was a suicide bomber. Within a minute, we heard a loud explosion, which flung me up and then knocked me to the ground. I'm not sure who was murdered, but I witnessed human meat flying past us from the blast scene ", he explained.
The incident on Sunday comes after Somali authorities decided this month to hold parliamentary elections by February 25th, despite previous delays that have jeopardized the country's stability.
President Mohamed Abdullahi Mohamed, commonly known as Farmajo, of Somalia, has been at odds with Prime Minister Mohamed Hussein Roble over the long-delayed elections.
Content created and supplied by: Mboti (via Opera News )
Opera News is a free to use platform and the views and opinions expressed herein are solely those of the author and do not represent, reflect or express the views of Opera News. Any/all written content and images displayed are provided by the blogger/author, appear herein as submitted by the blogger/author and are unedited by Opera News. Opera News does not consent to nor does it condone the posting of any content that violates the rights (including the copyrights) of any third party, nor content that may malign, inter alia, any religion, ethnic group, organization, gender, company, or individual. Opera News furthermore does not condone the use of our platform for the purposes encouraging/endorsing hate speech, violation of human rights and/or utterances of a defamatory nature. If the content contained herein violates any of your rights, including those of copyright, and/or violates any the above mentioned factors, you are requested to immediately notify us using via the following email address operanews-external(at)opera.com and/or report the article using the available reporting functionality built into our Platform See More