The visit took place after Pezeshkian renewed his pledge of allegiance at the mausoleum of the late founder of the Islamic Republic, Ayatollah Ruhollah Khomeini.
The president was accompanied by senior officials during the ceremony, where he laid flowers and offered prayers at the graves of commanders killed in Israeli strikes earlier this year.
More in pictures: