Police in the holy city of Makkah announced on Thursday the arrest of a man who was brandishing a knife inside the Masjid al-Haram, or Grand Mosque.
A police statement said the incident took place on Tuesday afternoon.
The man, it added, was carrying a knife and chanting slogans in support of terrorist organizations.
He was immediately arrested.