A double bomb attack targeting Shi'ite pilgrims in Damascus killed at least 40 Iraqis and wounded 120 more who were going to pray at a nearby shrine, the Iraqi foreign ministry said.