Capt. Hassan Nur, an officer from Afgoye district, said the base was not far from his police station and it was too early to give details.
The Islamist al Shabaab group conducts frequent bombings and gun attacks in a campaign to topple Somalia’s western-backed federal government.
The militants also want to drive out the African Union-backed peacekeeping force AMISOM which helps defend the government.
Abdiasis Musab, al Shabaab’s military operations spokesman, said the group was responsible for the attack.
“There is much casualty. We shall give details later,” he said.
On Thursday, AMISOM said that the mortar attack in Mogadishu, claimed by Islamist group al Shabaab, killed three civilians and injured two others.
The mortar rounds were fired near a stadium, Lieutenant Colonel Wilson Rono, AMISOM spokesman, told Reuters.
Al Shabaab militants set off a suicide car bomb at a checkpoint about 15 km (nine miles) outside the capital. At least five people were injured including soldiers, police officer Ali Roble told Reuters.
A second police officer, Abdullahi Nur, told Reuters that many vehicles had been parked at the checkpoint for inspection when the blast occurred.
Al Shabaab frequently carries out bombings in Mogadishu and elsewhere in Somalia in their effort to bring down the Western-backed federal government and drive out the AMISOM forces defending it. (Reuters/NAN)