Both Israel and Hamas, which rules the Gaza Strip, have accepted an Egyptian-brokered deal to cease fighting at 2 a.m. Friday local time (2300 GMT Thursday) to end the 11-day bloodshed.
Israeli Prime Minister Benjamin Netanyahu's office announced that the Israeli security cabinet approved on Thursday night the Egyptian-brokered ceasefire with Hamas in the Gaza Strip.
The decision came after a 2.5-hour discussion and was "unanimously" approved by the ministers, according to the office's statement.
"The political echelon emphasizes that the reality on the ground will determine the continuation of the military campaign," the statement noted.
Hamas politburo chief Ismail Haniyeh was informed of the timing of the truce by Egypt, Hamas spokesman in Gaza Hazem Qassem said.
The Egyptian mediator informed Hamas that Israel had agreed to a mutual ceasefire, "and therefore we also agreed to the ceasefire," a Hamas source told Xinhua on condition of anonymity.
"We have obtained guarantees from the mediators that the aggression on Gaza will stop," Hamas leader in Lebanon Osama Hamdan told the news website Al Resala.
Taher al-Nouno, the media advisor of Haniyeh in Gaza, said the Palestinian armed resistance will be committed to the agreement as long as the Israeli side is.
Israel has been launching massive raids on the Palestinian enclave with airstrikes, artillery shellings and drone attacks since May 10, in response to the rockets fired by Palestinian militants in Gaza to retaliate for Israel's violation of the sacred Islamic holy site of Al-Aqsa Mosque in Jerusalem.
This is the heaviest fighting between Israel and Gaza militants since 2014, which has so far killed 232 Palestinians, including 65 children and 39 women, and 12 Israelis.
Egypt, which has been leading the international mediation to end the Israeli-Palestinian bloodshed, will send two security delegations to Israel and Palestine to ensure the implementation of the truce, Egypt's official MENA news agency reported Thursday.
"Cairo will send two security delegations to Tel Aviv and the Palestinian territories to follow up the implementation procedures," the report said.