At least two blasts have targeted a compound housing African Union peacekeepers in Mogadishu, the Somali capital, agencies report quoting witnesses.
The attack comes as Somalia's new government takes over, in the face of a war threat from opposition al-Shabab fighters, who want foreign troops to leave the country.
Witnesses said they saw a car racing towards the compound on Sunday, then heard a huge explosion.
Al-Shabaab fighters said they had sent two suicide bombers to the facility.
Sheikh Muktar Robow Mansoor, al-Shabaab's spokesman, said a bomber wearing a jacket with explosives had detonated his charge near the compound and another in a car had set off his device at the gate.
Soldiers from Burundi are stationed in the camp that was targeted.
AU denial
The AU force denied there was a suicide attack, saying that a compound had come under fire from mortar shells.
Major Barigye Ba-Hoku, a spokesman for Amison, or the African Union peacekeeping mission to Somalia, said they were "yet to find out the impact of the shelling."
Amison has 3,500 soldiers from Burundi and Uganda stationed in Mogadishu.
Peacekeepers have often been targeted by anti-government fighters since the first Ugandan contingent was deployed in the country in March 2007.
Ethiopian forces who had borne the brunt of the armed uprising, pulled out of Somalia last month, sparking fears of a security vacuum.