The 28-year-old midfielder was forced to leave the field in the second half following the injury.
“MRI indicated that Haddadifar has strained his left hamstring. He will return to the team after four weeks,” Iran doctor Alireza Shahab said.
Iran defeated Indonesia 3-0 on Friday in the 2014 World Cup qualifier in Group E at the Azadi Stadium.