Larijani said the two sides also talked about cooperation against terrorism, as the two countries are confronting terrorist groups in West Asia and East Africa.

"The views of the two countries on terrorism and their will to fight it are similar," he said.

Kenya has been repeatedly hit by the Al-Qaeda-affiliated Al-Shabab terrorist group in recent years, notably a terrorist attack at a university in northeastern Kenya last year that left 147 dead.

Iran is a key partner of Iraq and Syria in their fight against the self-styled Islamic State terrorist group, which has large parts of the two Arab countries under its control and has repeatedly threatened to target Iran.