'Operation has now ended but we are still combing the building for any possible militants who are hiding,' they added
The death toll from an attack by the Somali Islamist group al-Shabaab on a hotel in the capital Mogadishu on Saturday rose to at least 15, a police officer said.
Major Ali Mohamed said the death toll included guards, civilians and militants. "The operation has now ended but we are still combing the building for any possible militants who are hiding," he said.
A spokesman for al-Shabaab, which claimed responsibility, said the death toll was at least 20 guards and civilians. Numbers of casualties cited by the government are often lower than those reported by al-Shabaab.
Muslims in Somalia and around the world are observing Ramazan. In previous years, al-Shabaab has often intensified attacks during the fasting month, often picking targets where people gather just before or after breaking the fast.