The Somali militant group announced the killings on its Andalus radio station, saying they were carried out in a public square in Jilib town in Middle Jubba region.
According to residents, the men were tied to poles and shot by a firing squad shortly after a self-proclaimed judge sentenced them to death.
‘Five of them were publicly shot to death this afternoon after they admitted espionage before the court,’ said Mohamed Abu Abdalla, Al-Shabab’s governor for the Jubba regions.
‘Awale Ahmed Mohamed, 32 spied for MI6 and he came from Britain to Somalia to establish Islamic State,’ he told Reuters late on Tuesday.
Three of the men spied for the United States and helped guide drones to carry out strikes in Somalia, while a fourth spied for the Somali government, he added.