Iran's head of Hajj organization, Saeed Ohadi, was quoted as saying by Tasnim news agency that 246 Iranians were also still unaccounted for.
Rouhani will arrive in Tehran on Tuesday morning, state news agency IRNA said, the same day that some of the bodies of the victims were being transferred to Iran.
Iranian officials have said the overall total death toll in the crush on Thursday near Mecca is more than 1,000. Saudi Arabia has confirmed the deaths of 769 people.
Iran has demanded an apology from Saudi Arabia over the deaths and accused it of trying to evade blame, while Riyadh accused Tehran of playing politics with the disaster.