Local police officer Feysal Mohamed told Anadolu Agency that the source of the explosion was a roadside bomb.
“The blast was a roadside explosion which targeted a national army vehicle carrying soldiers. At least three were killed in the attack and more than four others wounded,” said Mohamed.
Police and other security personnel reached the site of the incident and began investigations, he added.
No group has yet claimed responsibility for either attack, but al-Qaeda-affiliated group al-Shabaab has claimed responsibility for recent attacks in Somalia over the years.
Meanwhile, a soldier was killed an other three wounded in fighting between al-Shabaab near the city of Baidoa in the south of the country.
Daud Ibrahim, a military official in Baidoa confirmed the fighting and casualties to Anadolu Agency.