Hundreds of people are thought to have died during the Hajj pilgrimage in Saudi Arabia - most of them due to extreme heat as temperatures soared past 51 degrees Celsius.
AFP news agency quoted an Arab diplomat as saying 658 Egyptians had died. Indonesia said that more than 200 of its nationals had died. India said 98 people were known to have died.
Pakistan, Malaysia, Jordan, Iran, Senegal, Tunisia, Sudan and Iraq's autonomous Kurdistan region have also confirmed deaths. The US believes a number of Americans died, the Wall Street Journal reported. Friends and relatives have been searching for those missing in hospitals and posting messages online.
READ ALSO: More than 550 hajj pilgrims die in Mecca as temperatures exceed 50°C
Hajj is the annual pilgrimage made by Muslims to the holy city of Mecca. All Muslims who are financially and physically able must complete the pilgrimage at least once in their lifetime. About 1.8 million people have taken part this year, Saudi Arabia says.
More than half of those who died were unregistered pilgrims and joined the Hajj through irregular channels, leaving them unable to access cooling facilities such as air conditioned tents and buses, AFP reports.
On Friday Jordan said it had detained several travel agents who facilitated the unofficial travel of Muslim pilgrims to Mecca. Egypt is conducting a similar investigation.
Saudi Arabia has increased safety measures at the Hajj in recent years, but it still faces criticism for not doing enough, particularly for unregistered pilgrims. It has not yet commented on the deaths.
Here are some of the factors contributing to the deaths.
Extreme Heat
Despite warnings from the Saudi Health Ministry to avoid heat exposure and stay hydrated, many pilgrims fell victim to heat stress and heatstroke.
"It's only by God's mercy that I survived, because it was incredibly hot," says Aisha Idris, a Nigerian pilgrim, speaking to BBC World Service's Newsday.
"I had to use an umbrella and constantly douse myself with Zamzam water (holy water)," she said.
Another pilgrim, Naim, reportedly died from heatstroke, leaving her family searching for answers.
"Communication with my mother was suddenly cut off. We spent days searching, only to learn she had passed away during Hajj," her son told BBC News Arabic, adding they would honour her wish to be buried in Mecca.
However, heat-related deaths during the Hajj are not new and have been recorded since the 1400s.
Scientists warn that global warming is due to make conditions worsen.
"The Hajj has operated in a hot climate for over a millennium, but the climate crisis is exacerbating these conditions," said Carl-Friedrich Schleussner of Climate Analytics to the Reuters news agency.
His research suggests that with a 1.5C rise in global temperatures above pre-industrial levels, the risk of heatstroke during Hajj could increase up to five times.
Overcrowding and sanitation issues
They say accommodation and facilities were poorly managed, with overcrowded tents lacking adequate cooling and sanitation facilities.
Amina (not her real name), a 38-year-old from Islamabad, says: "There were no air conditioners in our tents in the heat of Mecca. The coolers that were installed did not have water most of the time.
Fauziah, a pilgrim from Jakarta, agrees, saying, "Many fainted due to overcrowding and overheating in the tents.
She would welcome improvements but believes, “this is the best organization of the Hajj so far".
However, the Saudi Health Minister has highlighted the resources allocated to ensure pilgrim well-being.
A government statement said they included 189 hospitals, health centres and mobile clinics with a combined capacity of more than 6,500 beds, and over 40,000 medical, technical, administrative staff and volunteers.
Transportation
Muhammad Acha, a Hajj organizer for a private group said during the summer, a typical pilgrim may have to walk at least 15 kilometers per day. This exposes them to heatstroke, fatigue, and a lack of available water,
"This is my 18th Hajj, and in my experience, the Saudi controllers are not facilitators. They control, but they don't help," he said.
"In earlier years, the U-turns to access the tents were open, but now all those routes have been closed. As a result, an ordinary pilgrim, even if staying in a Category A tent in Zone I, has to walk 2.5 kilometers in the summer heat to reach their tent," he explains.
"If there is an emergency on this route, no one will reach you for 30 minutes. There are no arrangements to save lives, nor are there water points along these paths," Acha adds.
Undocumented pilgrims
But some individuals try to go on the five-day pilgrimage without the proper documentation, despite Saudi officials attempts to crack down.
Pilgrims without proper documentation often avoid authorities, even when they need help.
This issue of "unofficial Hajj" is believed to contribute to the excess deaths and authorities have blamed them for some of the overcrowding in tents.
"We suspect those using non-Hajj visas have infiltrated the Hajj areas”, says Mustolih Siradj, chairman of Indonesia’s National Hajj and Umrah Commission (Komnas Haji).
Saad Al-Qurashi, an adviser to the National Committee for Hajj and Umrah, tells the BBC: “Anyone who does not have a Hajj visa will not be tolerated and must return to [their] country.”
He notes that irregular pilgrims are identified using Nusuk cards, which are given to official pilgrims and contain a barcode for entry to holy sites.
Elderly, infirm or sick pilgrims
Many Muslims also go in the hopes that if they die, it is during the Hajj - as it is considered to be a blessing to die and be buried in the holy city.
What happens if someone dies performing Hajj?
Funeral prayers happen at important mosques like Masjid al-Haram in Mecca or the Prophet's Mosque in Medina, depending. The body is washed, wrapped, and moved in freezers provided by the Saudi government, who cover all costs.
Burials are simple, without markers, sometimes with many bodies in one place. The cemetery book lists who’s buried where, so families can visit graves if they want.
The Saudi government, with help from different groups and the Red Crescent, says it ensures “dignified and respectful burial processes”.
BBC