Erdoğan said he has postponed his planned trip to Somalia to attend the funeral of Saudi Arabia’s King Abdullah, a day after a bomb targeted a Turkish delegation in the capital Mogadishu.

“We’ve decided to go [to Riyadh] and are heading there now. But we are also going to continue our programme and go to Djibouti and Somalia,” Erdoğan told reporters in comments broadcast live by state television TRT.

Erdoğan said he will travel to Djibouti after the funeral, and sources in his office said the Turkish leader is expected to go to Somalia on Jan. 25.

“It’s just a postponement. He will be coming to Somalia after the funeral but we don’t know the exact date or the time,” Daud Aweis, spokesman for the Somali presidency, told Reuters.

A suicide bomber on Thursday rammed a car laden with explosives into the gate of a Mogadishu hotel where Turkish and Somali delegates were meeting, killing two security guards.