A cease-fire in the fighting between Israel and the Palestinian militant group Hamas could come as early as Friday, according to people involved in the discussions, as pressure mounts from Washington and other foreign capitals to bring an end to airstrikes and rocket fire that have claimed a rising number of civilian casualties.