A car bomb has exploded in the Somali capital outside the gates of a hotel in a heavily secured area near the presidential palace.Police said Turkish delegates were meeting at the SYL Hotel before Friday's visit by Turkey's president to Mogadishu, Reuters news agency reports.
"The Turkish delegates are safe inside the hotel," a police captain is quoted as saying.
Al-Qaeda-linked militants often carry out attacks in Mogadishu.
It will be President Recep Tayyip Erdogan's second visit to Somalia - he first visited as Turkey's prime minister during the famine of 2011.
Since then Turkey has taken a lead in helping Somalia's government rebuild roads, schools and hospitals.
Turkish companies are also refurbishing Mogadishu's port and airport.