Four people were killed Friday in a shelling attack near a major mosque in the Syrian capital Damascus, reported state media and activists.