A leader of the Union of Islamic Courts takes credit for the Mogadishu attack.
The airport serves as a base for Ethiopian troops who helped the interim Somali government overthrow Islamic courts fighters late last month.
The UN delegation, from the UN refugee agency and the office for the co-ordination of humanitarian affairs, was taken to the UN compound in Mogadishu where they were meeting with Somali officials as planned.
Witnesses said Somali police forces and Ethiopian troops sealed off the airport and surrounding neighbourhoods after the attack and then assaulted civilians.
“Peace is possible if the interests of US and the Ethiopians are removed”
Ahmed, Bossaso, Somalia
A cafe owner at the airport said he had been shot by police.
He said: “Ethiopian troops and Somali police came into my restaurant and beat us very badly. I sustained a small gunshot wound, but I am getting treatment in the hospital.”
A police official, who requested anonymity, said “the beating was a case of mistaken identity”.
Muhamoud Yassin, a taxi driver, said the situation remained tense: “People are not allowed to and from the facility. There is a heavy security presence.”
The attack came a day after a first batch of Ethiopian troops began pulling out of Mogadishu, even though a proposed 7,600-strong African Union (AU) peacekeeping force has yet to be deployed.
Nigeria confirmed on Wednesday that it will send soldiers to join the peacekeeping force but many still doubt that the AU will be able to deploy such a large force and fear a power vacuum if peacekeepers do not arrive before Ethiopian troops leave.
US officials confirmed on Wednesday that the US had conducted a second air strike in Somalia.
The new air strike came two weeks after an AC-130 plane killed what Washington said were eight al-Qaeda fighters hiding among Islamist remnants pushed to Somalia’s southern tip by Ethiopian and Somali government forces.
Washington believes Somali Islamists have protected al-Qaeda members accused of bombing US embassies in Kenya and Tanzania in 1998 and an Israeli-owned Kenya hotel in 2002.