DUBAI, United Arab Emirates -- A suicide bombing outside one of Islam's holiest sites killed four Saudi security forces on Monday, and similar attacks outside a Shiite mosque and a U.S. Consulate in two other Saudi cities raised fears of a coordinated assault aimed at destabilizing the Western-allied kingdom.
The Interior Ministry said five others were wounded in the attack outside the sprawling mosque grounds where the Prophet Muhammad is buried in Medina. Millions of Muslims from around the world visit the mosque every year as part of their pilgrimage to Mecca.
The ministry said the attacker set off the bomb in a parking lot after security officers raised suspicions about him. Several cars caught fire and thick plumes of black smoke were seen rising from the site of the explosion as thousands of worshippers crowded the streets around the mosque.
No group has yet claimed responsibility for any of the attacks.
Altayeb Osama, a 25-year old Sudanese visitor to Medina and resident of Abu Dhabi, said he heard two large booms about a minute apart as he was heading toward the mosque for sunset prayers. He said police and fire trucks were on the scene within seconds.
"It was very shocking that such a thing happens in such a holy place for Muslims, the second holiest place in the world. That's not an act that represents Islam," Osama said. "People never imagined that this could happen here."
The ruling Al Saud family derives enormous prestige and legitimacy from being the caretakers of the hajj pilgrimage and Islam's holiest sites in Mecca and Medina. The attack may have been an attempt to undermine the Saudi monarchy's claim of guardianship.
In 1979, extremists took over Mecca's Grand Mosque, home to the cube-shaped Kaaba, for two weeks as they demanded the royal family abdicate the throne.
Last year, the Saudi government was accused of gross negligence by regional foes, primarily Iran, after a crush of pilgrims during the annual hajj killed at least 2,426 people and a crane collapse over the Grand Mosque killed 111 worshippers.
The Prophet Muhammad's mosque was packed Monday evening with worshippers during the final days of the Muslim holy month of Ramadan, which ends in the kingdom on Tuesday. Local media say the attacker was intending to strike the mosque when it was crowded with thousands of worshippers gathered for the sunset prayer.
Qari Ziyaad Patel, 36, from Johannesburg, South Africa, was at the mosque when he heard a blast just as people were breaking their fast with dates. Many at first thought it was the sound of traditional, celebratory cannon fire, but then he felt the ground shake.
"The vibrations were very strong," he said. "It sounded like a building imploded."
State-run news channel al-Ekhbariya aired live video of the mosque filled with worshippers praying hours after the explosion. It also showed footage of Saudi King Salman's son and the Governor of Medina, Prince Faisal bin Salman, visiting security officers wounded in the blast and the site of the explosion.
Also Monday evening, at least one suicide bomber and a car bomb exploded near a Shiite mosque in eastern Saudi Arabia, several hours after a suicide bomber carried out an attack near the U.S. Consulate in the western city of Jiddah.
Saudi Arabia has been a target of Islamic State attacks that have killed dozens of people. In June, the Interior Ministry reported 26 terror attacks in the last two years.
The possibility of coordinated attacks across different cities in Saudi Arabia on the same day underscores the threat the kingdom faces from extremists who view the Saudi monarchy as heretics and enemies of Islam. Saudi Arabia is part of the U.S.-led coalition fighting the Islamic State group in Iraq and Syria.
The attack in the eastern region of Qatif did not appear to cause any injuries, said resident Mohammed al-Nimr. His brother, prominent Saudi Shiite cleric Nimr al-Nimr, was executed in January after a court found him guilty of sedition and inciting violence for his role in anti-government protests -- charges his supporters reject.
Qatif is heavily populated by Shiites, who are a minority in the Sunni-ruled kingdom. Al-Nimr told The Associated Press the blasts there happened when most residents of the neighborhood were at home breaking the daily Ramadan fast.
The Interior Ministry said it was working to identify the remains of three bodies at the site of blast, suggesting there may have been three attackers.
IS and other Sunni extremists consider Shiites to be apostates deserving of death, and have previously attacked Shiite places of worship, including a suicide bombing on a Shiite mosque in Qatif in May 2015 that killed 21 people.
Earlier Monday, near the U.S. Consulate in Jiddah, a suicide bomber detonated his explosives after two security guards approached him, killing himself and lightly wounding the two guards, the Interior Ministry said.
Interior Ministry spokesman Maj. Gen. Mansour al-Turki said the guards noticed the man was acting suspiciously at an intersection on the corner of the heavily fortified consulate, near a hospital and a mosque. The Interior Ministry did not say whether the bomber intended to target the U.S. diplomatic compound.
No consular staff were wounded in the attack.
The ministry said the bomber was a Pakistani citizen residing in the kingdom. There are around 9 million foreigners living in Saudi Arabia, which has a total population of 30 million.
Al-Ekhbariya said security forces detonated six explosive devices found at the scene of the attack near the consulate.
A 2004 al-Qaida-linked militant attack on the U.S. Consulate in Jiddah killed five locally hired consular employees and four gunmen. The three-hour battle at the compound came amid a wave of al-Qaida attacks targeting Westerners and Saudi security posts.
Associated Press writer Adam Schreck contributed to this report.
This article was written by Aya Batrawy from The Associated Press and was legally licensed through the NewsCred publisher network.