Abdirisak Mohamed Barow et Hassan Nur Ali, who admitted being Shebab members during their trial, were shot today morning in Mogadishu, Abdulahi Hussein Mohamed, deputy judge of the supreme military court told reporters.
"Both of them were found guilty of murdering journalist Hindiyo Haji Mohamed whose car was blown with explosive device," Hussein said.
National television journalist Mohamed was killed in December when his car blew up as he returned home from a university class in Mogadishu.
Somalia is one of the most dangerous countries in the world for journalists to operate, with some attacks believed to be linked to score-settling among the multiple factions in power, as well as by the Shebab.
The Reporters Without Borders press freedom campaign group ranks Somalia 172nd out of 180 countries for press freedom. Mohamed was the 38th journalist killed doing his job in the country since 2010, the group says.
Shebab rebels have carried out repeated attacks in Somalia and neighbouring Kenya as part of their fight to overthrow the country's internationally-backed government, as well as the African Union troops supporting it, which include Kenyan soldiers.