A hotel in Somalia’s capital has been hit by an explosion and an attack by the Shabab terrorists on Sunday, killing at least 3 and wounding seven other civilians.

Iran PressAfrica: A vehicle loaded with explosives crashed into the entrance gate of the Afrik hotel, near Mogadishu’s strategic K-4 junction, on Sunday afternoon, police spokesman Sadiq Adan Ali said.

A number of armed gunmen then quickly invaded the hotel, opening fire on staff and patrons inside, he said.

Government forces responded to the attack and gunfire could be heard coming from the hotel. Police rescued many people from the hotel, including its owner and an army general, AP reported.

At least seven wounded civilians could be seen although police did not immediately give casualty figures.

Al-Shabab, Somalia’s homegrown rebels, claimed responsibility for the attack through their Andalus radio station.

"We know, they have changed nothing from their usual tactic, ramming explosives into a building and following up, assaulting with rifles," said Ali.