At least 14 people were killed and 40 wounded when suicide bombers and gunmen tried to storm the headquarters of a counter-terrorism unit in the southern port city of Aden on Saturday, security and medical sources said to Reuters.
Daesh, in a statement carried by its Amaq news agency, claimed responsibility for what it described as two "martyrdom operations" targeting the camp in Tawahi district in south-western Aden.
The agency provided no immediate evidence for the claim.
Security sources said two suicide bombers detonated two cars laden with explosives at the camp's entrance while six gunmen tried to storm the facility.
They were all killed by guards and their bodies taken to a military hospital, a medical source told Reuters.
Aden police said in a statement on its Facebook page that security forces had foiled a major attack on the camp.
A police statement said:
All the … terrorists were liquidated immediately before they could reach the outer gate of the anti-terrorism headquarters
Security sources and medics said three security men, a woman and two children died in the attack, while 40 other people, many of them civilians, were wounded.
The attack was the first of its kind in southern Yemen since gun battles erupted in January between southern separatists and President Abd-Rabbu Mansour Hadi's government over control of the city.
Residents described two large explosions in the area that sent up a cloud of grey smoke while ambulances raced to evacuate the wounded.
In a statement carried by the state-run Saba news agency, Hadi described the attack as a "cowardly act aimed to destabilise security in the temporary capital … but it will not dissuade people from their will to achieve security, safety and decent living."
Al Qaeda and Daesh have exploited the war in Yemen to carry out assassinations and bombings, mostly in lawless southern Yemeni areas nominally controlled by the government.