A car bomb went off Saturday at a checkpoint near the Somali parliament, killing eight people and injuring 16, medical and police sources said.