Ahmadinejad said Hamas does not need Iranian weapons, "because 1.5 million women, children, elderly and young men are defending it."
"I believe Gaza has no military solution from the outside," Ahmadinejad said at a wide-ranging news conference Thursday evening. "We do think Hamas does not need weapons because 1.5 million women, children, elderly and young men are defending it."
He said Iran won't send weapons to the Gaza Strip, because Hamas doesn't need them.
Ahmadinejad further accused the West of equipping Israel.
He called a possible Islamic oil embargo on Israel "a good idea", but said such a move is in dire need of cooperation on the side of Arab and other Muslim states.
"For the time being, it is not on the agenda," Ahmadinejad said.
Iran has been sharply critical of Israel's conduct in the Gaza conflict, in which about 1,100 Palestinians have been killed.
"A bunch of murderers are in charge of the Zionist regime," Ahmadinejad said. "Of course they all come to their doomed end."
Ahmadinejad also said his government welcomed "dialogue and having relations" with the US after the inauguration next week of President-elect Barack Obama, who has said he is open to diplomatic contacts with Iran.
The Iranian president said that he did not want to "judge ahead of time" the policies of US President-elect Barack Obama.
"We will wait and see what his administration will do," Iranian President Mahmoud Ahmadinejad said of President-elect Barack Obama.
But, he offered some advice to Barack Obama, saying the United States "should limit its influence to its own borders."
The Iranian president also repeated his demand that the United States change its behavior in order to decrease tension between the two nations.
"Any government that comes to power in the United States should limit its influence to its own borders. The root of all problems and wars in the world is the unwanted meddling of the United States in world affairs," Ahmadinejad said.
"If they want to have the previous stance wrapped up in a new package, (talking) will not work," he said. "If the stance is oppressor against the oppressed, it will not be fruitful."
During her Senate confirmation hearing in Washington on Tuesday, Secretary of State-designate Hillary Rodham Clinton said she planned to move swiftly to engage Iran and Syria directly, underscoring the new administration's intent to shift US policy in the Middle East.
The United States and Iran broke diplomatic relations in April 1980, after Iranian students seized the United States' espionage center at its embassy in Tehran. The two countries have had tense relations ever since.