Somalia has declared three days of mourning during which the national flag will fly at half-mast.
President Mohamed Abdullahi Farmajo made the order on Thursday as the nation paid tribute to Mogadishu Mayor Abdirahman Omar Osman who died on Thursday.
The President said the government shared the pain of the irreplaceable loss with Somali public.
In a statement by Villa Somalia, President Farmajo ordered the national flag to fly at half-staff in honour of the death of Mogadishu Mayor.
President Mohamed Abdullahi Farmajo has extended condolences to the families and relatives of the mayor.
Abdirahman Omar Osman died at a hospital in Doha, Qatar where he was undergoing treatment.
Late mayor and six other people were seriously injured in a suicide bombing attack at Mogadishu municipality premises last week.
Al-Shabaab claimed the responsibility for the attack which is suspected to have been executed by a female attacker.
Al-Shabab said the suicide bomber was aiming at an American who is the new United Nations envoy to Somalia, James Swan.
Swan had left the office just minutes earlier before the blast hit the office of the mayor.