Canadian Foreign Minister Lawrence Cannon issued a statement on Tuesday condemning in the strongest possible terms the terrorist attack in Mogadishu, Xinhua reported.
"On behalf of all Canadians, I would like to express our sympathies to the friends and families of the victims," said Cannon. "Canada is deeply concerned by the worsening security situation in Somalia and its impact on the region."
"Canada supports the mandate of the African Union Mission in Somalia and will continue to work with the international community to prevent and constrain terrorism and to promote human rights, democratic values and the rule of law," he added.
According to the Somali government, at least 31 people including six members of parliament were killed on Tuesday in the Mogadishu hotel attack by gunmen.
The raid came as the heavy fighting between the Islamist fighters from Al Shabaab and the government forces enters its second day in the past two days left about almost 50 people dead and more than 150 others wounded.
The Islamist group on Tuesday afternoon claimed responsibility for the hotel raid.
The group on Monday called on its fighters to wage "an all-out war" against Somali government forces and AU peacekeeping troops, saying that everyone should contribute in every possible way.