A suicide bomber who blew himself him up was preparing to carry out an attack on the Grand Mosque.
The first operation was foiled in Mecca in Assila district, while the second was thwarted in Ajyad al-Masafi neighbourhood.
The foiled attack targetted worshipers at the mosque.
The Suicide bomber opened fire on Saudi security forces before blowing himself up.
Six people were injured including five members of the security forces.