In a message to the late leaderís brother President Raul Castro, Rouhani said the death of the leader of the Cuban revolution caused him ďgreat grief and sorrowĒ.
ďIn this age ó when oppressed nations around the world suffer from violations of the most obvious and fundamental human principles such as peace, justice and freedom ó it is fortunate there are free men and warriors who do not give up fighting until the last days of their lives to keep the flag of justice high,Ē he said in the message.
Rouhani met Raul and Fidel Castro in September in Cuba.
Castro had met Iranian officials, including supreme leader Ayatollah Ali Khamenei, on a visit to Iran in 2001.
Since the Islamic Revolution of 1979, which overthrew the pro-American shah, Iran and Cuba have had friendly ties and often back each other in the international arena.
Tehran has vocally condemned the US embargo on Cuba, and Havana has supported Iranís efforts for a civilian nuclear programme.--AFP