The suicide car bomber struck a busy market in the Madina neighbourhood yesterday, the explosion ripping through shoppers, stalls and vehicles.
No group has so far claimed responsibility for the attack, but suicide bombings are commonly carried out by Somalia's Shabaab jihadists who have threatened a "vicious war" against the new government.
"Thirty-nine people died and 27 others were wounded," Abdukadir Abdurahman Adem head of Mogadishu's Amin Ambulance service, said today.
The attack drew condemnation from international backers of Somalia's newly-elected President Mohamed Abdullahi Mohamed, known as Farmajo, who has offered a $100,000 (94,000 euro) reward for information on who carried out the attack.
Also Read
Farmajo, a dual American and Somali citizen, is due to be sworn in on Wednesday.
The latest attack underlines the challenge facing the new president, who has inherited an administration with limited control over Somali territory due to the presence of Shabaab, and is heavily propped up by the international community.
The Shabaab, an al-Qaeda-aligned militant group, was forced out of the capital by African Union troops in 2011 but still controls parts of the countryside and carries out attacks against government, military and civilian targets seemingly at will in Mogadishu and regional towns.
Disclaimer: No Business Standard Journalist was involved in creation of this content