A suicide bomber lightly wounded Prince Muhammad bin Nayef, the assistant interior minister, at a public Ramadan gathering in Jeddah. Nayef is responsible for Saudi Arabia’s counterterrorism program. Al Qaeda in the Arabian Peninsula took credit for the attack.