Going on to add that he was in, "no doubt that Chávez will return to Earth" together with Jesus and Imam Mahdi, the most revered figure among Shia Muslims, to, "establish peace, justice and kindness" in the world.
Announcing a day of mourning, Ahmadinejad is reported to have said that he believed something was "suspicious" about the cause of Chávez's cancer.
More than 20 world leaders are expected to attend the funeral today, but there will be no burial as he will be embalmed.
Thousands flocked to the streets of Caracas to see the coffin of Chavez travel through the city to lie in state until Friday's funeral.
A look back at the life of Venezuelan President Hugo Chavez who has died at the age of 58 after a two-year battle with cancer.