A temporary ceasefire in Gaza and the first release of hostages taken by Hamas will take place Friday, Qatari officials said Thursday after helping Israel and Hamas reach a truce that would bring the first pause in fighting since Hamas attacked southern Israel on Oct. 7.