Authorities in Syria say that a bombing at a mosque in the city of Homs killed at least eight people and wounded 18 others.