The explosion occurred in northern Baghdad, near where an earlier bombing killed at least 14 people and wounded 41 others during a major religious festival.