Al-Shabab claimed responsibility for the attack in Somalia's capital which left six others injured.