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.

Keiko Fujimori declared winner of Peru presidential race
Ukrainian rescuers clear rubble as Kyiv mourns 30 killed in Russian attack
Monaco blast suspect is a Ukrainian woman who fled to Germany
Clinical trials begin for two potential Ebola treatments
India issues notice to Telegram, Signal on concerns over usernames, source says
Blast at Damascus cafe kills nine, wounds 20
Rebels in Indonesia's Papua kill American pilot, burn plane
Russian air strikes kill 10, injure more than 50 in Ukraine's Kyiv
