(CNN) -- Somalia's president escaped an opportunistic attack by Islamic militants Wednesday as deadly fighting erupted in the center of Mogadishu, officials said.



Sheikh Sharif Sheikh Ahmed was returning from a trip to Yemen when insurgents began firing mortars, resulted in a clash with African Union peacekeepers, the president's director of communications told CNN.



"The Islamic insurgents were just guessing the arrival of the president so they started firing mortars, just to send a kind of their regular violent message that they are around," said Abdulkadir Barnamij.



The heaviest of the fighting was centered on Maka Al Mukarama, which links the airport to the presidential palace but it is heavily guarded by forces from the African Union Mission in Somalia.



Meanwhile Ali Muse, head of an emergency group in the city, confirmed to CNN that three people died and 16 others were wounded in the fighting.



"The casualty (number) is small because people deserted the streets soon after the fighting started," said Ali Muse.



-- Journalist Mohamed Amiin Adow contributed to this report
Where did the heaviest fighting take place? Where did the fighting center? What was happening outside? How many people was left dead because of the fighting? What did they announce? Who exchanged fire? Where was the heaviest of the fighting centered?
Maka Al Mukarama, Mogadishu, "The Islamic insurgents were just guessing the arrival of the president so they started firing mortars, three three people died and 16 others were wounded insurgents began firing mortars, resulted in a clash with African Union peacekeepers, Maka Al Mukarama,
question: Where did the heaviest fighting take place?, answer: Maka Al Mukarama, | question: Where did the fighting center?, answer: Mogadishu, | question: What was happening outside?, answer: "The Islamic insurgents were just guessing the arrival of the president so they started firing mortars, | question: How many people was left dead because of the fighting?, answer: three | question: What did they announce?, answer: three people died and 16 others were wounded | question: Who exchanged fire?, answer: insurgents began firing mortars, resulted in a clash with African Union peacekeepers, | question: Where was the heaviest of the fighting centered?, answer: Maka Al Mukarama,