JERUSALEM (AFP) -- A Gaza rocket struck the southern port city of Ashdod on Tuesday, police said, just hours after Israel agreed to abide by an Egyptian truce.
"The rocket struck a yard outside a house in Ashdod, several people have been treated for shock," police spokeswoman Luba Samri said in a statement.
The attack was claimed by the armed wing of Hamas, the al-Qassam Brigades, which said it had fired "eight Grad rockets" at Ashdod, which is home to some 212,000 people.
Earlier the Israeli security cabinet voted to accept an Egyptian proposal for a unilateral ceasefire which went into force at 9 a.m. although it warned it would respond "with force" to any further rocket fire.
There were no immediate reports from Gaza of a military response to the fire on Ashdod, which came after three mortar shells struck open areas near the southern flank of the Israel-Gaza border.
Hamas and other Palestinian factions in Gaza said they were not consulted about the ceasefire terms.