Two children and three others were killed by gunfire and explosions that went off in Somalia’s capital Mogadishu in the early hours of Wednesday, State TV reported.
The two children were killed in two attacks, one at the police station in the Kahda district and another in the Darasalam district.
The attack came as the nation prepares for a much-delayed presidential election.
Al Qaeda-linked al Shabaab, which aims to topple the central government and impose its severe interpretation of Islamic law also attacked several police stations and security checkpoints, internal security minister said.
“The terrorists attacked the suburbs of Mogadishu and targeted our police stations and check points,” Abdullahi Nor wrote on Twitter.
“Our security defeated the enemy”, he added.
The attack was carried out just before 1 a.m. (2200 GMT).
Al Shabaab carries out frequent attacks against the government, with the most recent being an attack on a minibus carrying election delegates last week.
Elections for lawmakers began on November 1 and were initially supposed to end on December 24, but are currently due to be completed on February 25.
A months-long dispute between Prime Minister Mohammed Hussein Roble and his political rival President Mohamed Abdullahi Mohamed has been blamed for the delayed elections.