Saudi police arrested a group of men planning to attack holy sites around Mecca during the just completed annual Muslim pilgrimage, the Interior Ministry announced Friday.

"Security forces have foiled a plot to carry out a terror attack on holy sites outside Mecca with the aim of confounding security forces," Interior Ministry spokesman Mansour al-Turki told The Associated Press.

Nearly 3 million pilgrims came to Saudi Arabia for the annual hajj season that wound up Friday with a final visit to Mecca after days of carrying out rituals in the surrounding hills.