Earlier one witness said he saw a soldier killed and dozens of refugees wounded at Badbaado camp, home to some 30,000 refugees.
Early yesterday government troops fired shots and fought amongst themselves as they looted maize and oil.
“At least 10 people died and 15 others were wounded,” Aden Kusow, himself a refugee, said from Badbaado camp.
“Seven of those died in the camp. The other three died outside as they fled. Most of those who died are refugees,” he said.
About 100,000 refugees have reached the capital in the last two months and hundreds more are streaming into the city, hoping to escape the brunt of the worst drought to hit the Horn of Africa in decades.
“Militiamen opened fire to loot the food aid,” said Abdikadir Mohamed, a driver.
“There was chaos and everybody was running for cover after the security escorting the food aid convoy exchanged fire with the armed gang.
“The food was looted,” Mohamed added.
Residents at the Badbado camp had been queuing up for food supplied by the World Food Programme when the gunmen started shooting.
All those who died were displaced people who had fled drought or famine in the surrounding countryside.
Ali Isa, an official with a local group partnering with the WFP, said the UN agency had brought some 300 tonnes of food for the displaced at the camp set up by Somalia’s Western-backed government.
It was not immediately clear who the attackers were, but the area is in an area controlled by pro-government forces.
WFP confirmed that shooting had broken out at a food distribution centre for displaced people.
“Casualties have been reported, and we are working to clarify the details,” said WFP spokeswoman Susannah Nicol.
“This incident highlights the challenges that humanitarian agencies face in trying to deliver assistance in this difficult environment.”
The gunmen drove away some of the food trucks while other food was taken away on donkey carts.
The United Nations on Wednesday declared three more Somali areas, including Mogadishu and Afgoye to the west of the capital, were facing famine.
Other areas include the Balaad and Adale districts of Middle Shabelle.
Last month the UN declared famine in the Bakool and Lower Shabelle regions in the south of Somalia due to a harsh drought in the Horn of Africa.
Most of the famine-hit areas are controlled by Somalia’s al-Qaida-inspired Shebab rebels, who have been fighting to topple the government and banned several foreign aid groups from regions under their control.
Parts of Ethiopia, Djibouti, Kenya and Uganda have also been hit by the region’s worst drought in decades.
The UN’s Food and Agriculture Organisation called for urgent action yesterday to save the lives of some 12 million people battling hunger.
In a statement, the FAO “warned that immediate action is needed to save the lives and livelihoods of millions of farmers and pastoralists across the drought-struck Horn of Africa.”
Donors and governments have increased financial pledges towards the drought, with the Nordic countries ramping up their funding to €15 million.
China said yesterday it was paying “close attention” to the Horn of Africa drought after top US House Democrat Nancy Pelosi urged it to do more.
Pelosi on Thursday urged China and Saudi Arabia to “step up their efforts” to relieve the effects of the extreme African drought.
Experts have warned that the famine ravaging parts of Somalia is likely to persist for the rest of the year and spread to the country’s entire southern region in the coming weeks.
The UN’s Food Security and Nutrition Analysis Unit termed drought-hit Somalia as “the most severe humanitarian crisis in the world today and Africa’s worst food security crisis since Somalia’s 1991-92 famine.”