The Qatari authorities have accused Saudi Arabiainfo-icon of jeopardising the annual hajjinfo-icon pilgrimage to Makkah by refusing to guarantee the safety of those taking part.

Saudi Arabia and its allies have been boycotting Qatarinfo-icon since June 5, accusing it of backing extremist groups and of ties to Shiainfo-icon Iraninfo-icon, in the region's worst diplomatic crisis in years.

Erdogan says prolonging Gulf crisis 'not in anyone's interest'

On July 20, Riyadh said that Qataris wanting to perform this year's hajj would be allowed to enter the kingdom for the pilgrimage, but imposed certain restrictions.

The Saudi hajj ministry said Qatari pilgrims arriving by plane must use airlines in agreement with Riyadh. They would also need to get visas on arrival in Jeddah or Medina, their sole points of entry in the kingdom.

The Qatari Islamic affairs ministry, in a statement published by the official QNA news agency on Sunday, said the Saudi side had "refused to communicate regarding securing the pilgrims safety and facilitating their Hajj".

The ministry accused Riyadh of "intertwining politics with one of the pillars of Islam, which may result in depriving many Muslims from performing this holy obligation".

According to the statement, 20,000 Qatari citizens have registered to take part in this year's hajj. The ministry said it denied Saudi claims that Dohainfo-icon had suspended those registrations.

"The distortion of facts is meant to set obstacles for the pilgrims from Qatar to Makkah, following the crisis created by the siege countries," the Qatari ministry added, referring to Saudi Arabia and its allies.

The hajj, a pillar of Islam that capable Muslims must perform at least once in a lifetime, is to take place this year at the beginning of September.

Tillerson leaves Gulf with no end in sight to Qatar crisis

Saudi Arabia and its allies Bahraininfo-icon, Egyptinfo-icon and the United Arab Emiratesinfo-icon cut diplomatic ties and imposed sanctions on Doha in June, including the closure of their airspace to Qatari airlines.

The four Arab states accuse Qatar of supporting extremists and of growing too close to Shia-dominated Iran, the regional arch-rival of Sunni-ruled Saudi Arabia. Qatar denies the allegations and accuses the Saudi-led bloc of imposing a 'siege' on the tiny emirate.