Mecca: A man who tried to set fire near the holy Kaaba in Mecca has been arrested.

A video circulating on social media shows the security men arresting a person who was getting ready to pour flammable material that would had started fire. The security officers and a few worshipers and pilgrims came and stood around the man, before he was taken by the officers outside, Al Jazeera reported.

The media spokesman for the security force of the Grand Mosque, Sameh Al-Silmi said the man who appeared to be in his 40’s was arrested on Monday evening after he poured gasoline on his clothes and tried to set himself on fire.

He said the security forces instantly noticed and were able to arrest him. Al-Silmi said his actions prove he is mentally ill, and legal actions will be taken.

Major Sameh denied the rumors circulating about the man’s desire to burn the Kaaba, and emphasized that man was only trying to harm himself.