Somali officials say nine civilians were killed and 10 others were wounded in a roadside bomb explosion outside Mogadishu on Sunday.
The Somali government says al-Shabab is responsible for the attack.
Al-Shabab has been known to plant IEDs in the area of the explosion known as Hawa Abdi, about 18 kilometers west of Mogadishu, to target the Somali military and African Union peacekeepers.
Last week, 14 government soldiers were killed in two separate IED attacks in Middle Shabelle and Lower Shabelle regions.
The U.N. has reported a drop in civilian casualties in Mogadishu this year, which was attributed to the current security plan and military operations in the neighboring Lower Shabelle region.