Ahmadinejad spoke by telephone with Ismail Haniyeh, the Hamas leader who was dismissed as Palestinian prime minister in 2007 by President Mahmoud Abbas, the government broadcaster Press TV reported.
"Zionists have reached the end of the road and have no choice but to recognize and yield to the absolute right of the Palestinian nation," Ahmadinejad told Haniyeh.
Iran is one of Hamas' major international sponsors.
Wisconsin business offering 'therapeutic cuddling' forced to close
Costly malfunction causes beer flood at Boston-area brewery