A bombing at a mosque in Syria during Friday prayers killed at least eight people and wounded 18 others, authorities said.