"We strongly condemn this heinous terrorist attack," the ministry said on its website, in a written statement, as quoted by Anadolu.
"We wish God's mercy upon those who lost their lives in the attack, convey our condolences to the families who lost their loved ones and wish speedy recovery to the wounded," it read, adding, "Turkey will continue to stand by the Somali people and its government in the fight against terrorism."
According to media reports, a suicide car bomb exploded as it was driven into the front of a popular hotel, while a second blast was heard near the former parliament house, which had military personnel inside.
The al-Shabab terror group has claimed responsibility for the attack and said its fighters were still inside the hotel.
Gunfire could be heard inside the hotel and fighting was continuing inside, at the time of filling the report. (ANI)