At least 32 civilians were killed and 63 injured in an explosion on a popular beach in the Somali capital, Mogadishu, late on Friday evening, police said.
Somali state media blamed the attack on the militant group al Shabaab.
It was the deadliest attack in the Horn of Africa country since twin car bombs detonated near a busy market intersection in October 2022, killing at least 100 people and wounding 300 others.
There was no immediate claim of responsibility by the al Qaeda-linked al Shabaab, which has claimed similar attacks in the past, including the car bomb attack in 2022.
Police spokesperson Abdifatah Aden gave the death toll in Friday evening's explosion at a beach restaurant.
In addition to the civilians killed, Aden said that one of the attackers had blown himself up while three others had been killed by security forces. One attacker was captured alive, while one soldier was killed during the assault.
State news agency SONNA had earlier said five al Shabaab attackers had been killed by security forces while a sixth had blown himself up during the assault.
Hassan Farah, a survivor, described the shock as the explosion shattered a peaceful evening.
"I was in the restaurant sipping coffee and having a good chat with friends when I saw a big man running. In a second, there was something like lightning and a huge blast," he told Reuters.
"We were covered with smoke. Inside and outside the restaurant, many people were lying on the floor while others were bleeding and crying."
Videos posted on X showed bodies lying on the beach in the dark and people running to safety.
Al Shabaab controlled a vast area of Somalia before being pushed back in government counteroffensives since 2022. However, the militants remain capable of launching significant attacks on government, commercial, and military targets.
"The fact that the terrorist attack coincides with this night when the beach is the most congested shows the hostility of the terrorists to the Somali people," former Prime Minister Hassan Ali Khaire said on his X account.

Chinese national rescued from Nepal tunnel 10 days after flash flood
One dead, 11 people missing after mudslide in China's Jiangxi province
Philippine VP Duterte posts bail after arrest order for alleged grave threats
Lindsay Clancy trial over killing her children ends in mistrial
Israel says it strikes southern Lebanon after Hezbollah drone launch
Sydney sweats in spring hot spell, faces 'extreme' bushfire risk
Nine days after disaster, two pulled alive from Nepal hydropower tunnel
Germany launches manhunt after spate of sabotage attacks on power grid
