The exchange comes two days before the first phase of the ceasefire between the warring parties is set to expire.