Dozens of mourners have been killed in Iran during a stampede that erupted during a funerary procession for a top general killed in a US airstrike, Iranian state TV has reported.

At least 35 people have been killed and 48 injured during the procession for Qassem Soleimani, the head of Iran's elite al-Quds force, who was killed in a US drone strike on Friday.

The burial ceremony for Soleimani, in his hometown of Kerman, in southeast Iran, was later cancelled because of the deaths.

"Unfortunately as a result of the stampede, some of our compatriots have been injured and some have been killed during the funeral processions," Koulivand said.

State media reported that most of the injured were elderly people who had been going from Azadi Square in Kerman towards Beheshti Street when they got trapped in the huge crowds and died.

Qassem Soleimani: Mourners fill Iran streets for funeral Show all 24 1 /24 Qassem Soleimani: Mourners fill Iran streets for funeral Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Iranian mourners gather around a vehicle carrying the coffin of top general Qasem Soleimani during the final stage of funeral processions, in his hometown Kerman. Soleimani was killed outside Baghdad airport in a drone strike ordered by US President Donald Trump, ratcheting up tensions with Iran which has vowed "severe revenge" AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Iranian people carry a coffin of Iranian Major-General Qassem Soleimani during a funeral procession in Tehran Official Khamenei website via Reuters Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions The assassination of the 62-year-old heightened international concern about a new war in the volatile, oil-rich Middle East and rattled financial markets AFP via Getty Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Iranian people attend a funeral procession and burial for Iranian Major-General Qassem Soleimani, head of the elite Quds Force, who was killed in an air strike at Baghdad airport, at his hometown in Kerman, Iran January 7, 2020. Mehdi Bolourian/Fars News Agency/WANA (West Asia News Agency) via REUTERS ATTENTION EDITORS - THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY WANA NEWS AGENCY West Asia News Agency via Reuters Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Mourners packed the streets of Tehran for ceremonies to pay homage to Soleimani, who spearheaded Iran's Middle East operations as commander of the Revolutionary Guards' Quds Force and was killed in a US drone strike on January 3 Iranian Supreme Leader's Office/EPA Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Iranian mourners gather around a vehicle carrying the coffin of slain top general Qasem Soleimani during the final stage of funeral processions, in his hometown Kerman on January 7, 2020. - Soleimani was killed outside Baghdad airport Friday in a drone strike ordered by US President Donald Trump, ratcheting up tensions with arch-enemy Iran which has vowed "severe revenge". The assassination of the 62-year-old heightened international concern about a new war in the volatile, oil-rich Middle East and rattled financial markets. (Photo by ATTA KENARE / AFP) (Photo by ATTA KENARE/AFP via Getty Images) ATTA KENARE AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Iranians set a US and an Israeli flag on fire during the funeral procession AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Iran's Supreme Leader Ayatollah Ali Khamenei, centre, with Parliament Speaker Ali Larijani, second left, and President Hassan Rouhani, third left, standing next to him as he leads a prayer over the caskets of Iranian military commander Qasem Soleimani and Iraqi paramilitary chief Abu Mahdi al-Muhandis at Tehran University Khamenei.IR/AFP via Getty Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Mourners attend a funeral ceremony for Iranian Gen. Qassem Soleimani and his comrades, who were killed in Iraq in a U.S. drone strike on Friday, in the city of Kerman, Iran, Tuesday, Jan. 7, 2020. The leader of Iran's Revolutionary Guard threatened on Tuesday to "set ablaze" places supported by the United States over the killing of a top Iranian general in a U.S. airstrike last week, sparking cries from the crowd of supporters of "Death to Israel!" (Erfan Kouchari/Tasnim News Agency via AP) Erfan Kouchari AP Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Iranian Supreme Leader Ayatollah Ali Khamenei, left, openly weeps as he leads a prayer over the coffin of Qassem Soleimani AP Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Mourners holding posters of Qassem Soleimani AP Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Coffins of Soleimani and others who were killed in Iraq by a US drone strike, are carried on a truck surrounded by mourners during a funeral procession, at the Enqelab-e-Eslami (Islamic Revolution) square AP Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions An Iranian mourner holds a placard AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Downtown Tehran was brought to a standstill as mourners flooded the Iranian capital Khamenei.IR/AFP via Getty Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Former Iranian Revolutionary Guards Corps chief Mohamad Ali Jafari prays on the coffins of Qasem Soleimani and of other victims during their funeral ceremony EPA Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Iranian mourners gather during the final stage of funeral processions for slain top general Qasem Soleimani, in his hometown Kerman on January 7, 2020. - Soleimani was killed outside Baghdad airport on January 3 in a drone strike ordered by US President Donald Trump, ratcheting up tensions with arch-enemy Iran which has vowed "severe revenge". The assassination of the 62-year-old heightened international concern about a new war in the volatile, oil-rich Middle East and rattled financial markets. (Photo by ATTA KENARE / AFP) (Photo by ATTA KENARE/AFP via Getty Images) ATTA KENARE AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Tehran epa08107653 Iranians attend the funeral ceremony of slain Iranian Revolutionary Guards Corps (IRGC) Lieutenant general and commander of the Quds Force Qasem Soleimani and of other victims in Tehran, Iran, 06 January 2020. Soleimani was killed in a targeted US airstrike on 03 January 2020 in Baghdad, Iraq. EPA/ABEDIN TAHERKENAREH ABEDIN TAHERKENAREH EPA Qassem Soleimani: Mourners fill Iran streets for funeral Tehran epa08107308 A handout photo made available by Iranian Supreme Leader's Office shows Iranian Supreme Leader Ayatollah Ali Khamenei (C) praying before the coffins of slain Iranian Revolutionary Guards Corps (IRGC) Lieutenant general and commander of the Quds Force Qasem Soleimani and of other victims as Iranian President Hassan Rouhani (C-L) and other top officials attend the funeral ceremony in Tehran, Iran, 06 January 2020. Soleimani was killed in a targeted US airstrike on 03 January 2020 in Baghdad, Iraq. EPA/IRAN'S SUPREME LEADER OFFICE HANDOUT HANDOUT EDITORIAL USE ONLY/NO SALES IRAN'S SUPREME LEADER OFFICE HANDOUT EPA Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Women hold pictures of Iranian Major-General Qassem Soleimani, head of the elite Quds Force, who was killed in an air strike at Baghdad airport, during a funeral procession and burial at his hometown in Kerman, Iran January 7, 2020. Mehdi Bolourian/Fars News Agency/WANA (West Asia News Agency) via REUTERS ATTENTION EDITORS - THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY WANA NEWS AGENCY West Asia News Agency via Reuters Qassem Soleimani: Mourners fill Iran streets for funeral Tehran Iranian people gather during a funeral for Iranian Major-General Qassem Soleimani, head of the elite Quds Force, and Iraqi militia commander Abu Mahdi al-Muhandis, who were killed in an air strike at Baghdad airport, in Tehran, Iran January 6, 2020. Official Khamenei website/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PROVIDED BY A THIRD PARTY. NO RESALES. NO ARCHIVES Official Khamenei website Official Khamenei website via Reuters Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Iranian mourners gather during the final stage of funeral processions for slain top general Qasem Soleimani, in his hometown Kerman on January 7, 2020. - Soleimani was killed outside Baghdad airport on January 3 in a drone strike ordered by US President Donald Trump, ratcheting up tensions with arch-enemy Iran which has vowed "severe revenge". The assassination of the 62-year-old heightened international concern about a new war in the volatile, oil-rich Middle East and rattled financial markets. (Photo by ATTA KENARE / AFP) (Photo by ATTA KENARE/AFP via Getty Images) ATTA KENARE AFP via Getty Images Qassem Soleimani: Mourners fill Iran streets for funeral Kerman - Final stage of funeral processions Men hold pictures of Iranian Major-General Qassem Soleimani, head of the elite Quds Force, who was killed in an air strike at Baghdad airport, during a funeral procession and burial at his hometown in Kerman, Iran January 7, 2020. Mehdi Bolourian/Fars News Agency/WANA (West Asia News Agency) via REUTERS ATTENTION EDITORS - THIS IMAGE HAS BEEN SUPPLIED BY A THIRD PARTY WANA NEWS AGENCY West Asia News Agency via Reuters Qassem Soleimani: Mourners fill Iran streets for funeral Tehran This Monday, Jan. 6, 2020 satellite photo from Maxar Technologies shows Enghelab Square in Tehran, Iran, amid a mass processional for Iranian Gen. Qassem Soleimani, who was killed in a U.S. airstrike in Baghdad. The funeral for Soleimani drew a crowd said by police to be in the millions in the Iranian capital, filling thoroughfares and side streets as far as the eye could see. Although there was no independent estimate, aerial footage and Associated Press journalists suggested a turnout of at least 1 million. (Satellite image Â©2020 Maxar Technologies via AP) Satellite image Maxar Technologies/AP Qassem Soleimani: Mourners fill Iran streets for funeral Tehran epa08107478 Iranians attend the funeral ceremony of slain Iranian Revolutionary Guards Corps (IRGC) Lieutenant general and commander of the Quds Force Qasem Soleimani and of other victims in Tehran, Iran, 06 January 2020. Soleimani was killed in a targeted US airstrike on 03 January 2020 in Baghdad, Iraq. EPA/ABEDIN TAHERKENAREH ABEDIN TAHERKENAREH EPA

Thousands had gathered in Kerman's central square on Tuesday morning to pay their respects to the leader of the al-Quds force, the clandestine foreign arm of Iran's Islamic Revolutionary Guards Corps (IRGC).

Earlier in the day Hossein Salami, the leader of the IRGC, spoke at the gathering where he threatened to "set ablaze" places supported by the US.

A US airstrike Baghdad airport on Friday killed Soleimani as well as Abu Mahdi al-Muhandis, the head the Popular Mobilisation Forces, an Iran-backed militia in Iraq, sparking fury across the region.

Salami praised Soleimani's work abroad, describing him as essential to backing Palestinian groups, Yemen's Houthi rebels and Shiite militias in Iraq and Syria.

Soleimani, known as the architect of Iran's proxy wars abroad, has been accused of being responsible for the deaths of hundreds of US servicemen in Iraq as well as killings and sieges in Syria.

His death has galvanised his support in places like Iraq but also Iran, Gaza and Lebanon where he has backed mostly-Shia armed groups.

Salami said as a martyr, Soleimani represented an even greater threat to Iran's enemies.

"We will take revenge. We will set ablaze where they like," Salami said, as the crowd chanted "Death to Israel!"

Israel is a longtime regional foe of Iran.