Iran on Saturday condemned a suicide bombing near Islam's holiest site in Mecca and offered Saudi Arabia its assistance in tackling terrorism despite their severed ties.
"Iran... as always expresses its readiness to assist and cooperate with other countries to confront these criminals, who deal death and ignorantly spread hate," foreign ministry spokesman Bahram Ghassemi said.
Six foreign pilgrims were wounded when a suicide bomber blew himself up near the Grand Mosque in Mecca, where hundreds of thousands of worshippers had gathered for prayers on the last Friday of the Muslim fasting month of Ramadan.
The Saudi interior ministry said a wider plot had been foiled with the arrest of five suspects earlier in the day.
Since late 2014, the kingdom has faced periodic bombings and shootings claimed by the Islamic State militant group.