Residents of the Gaza Envelope within 4 km from the Gaza border have been instructed to remain in their homes.