The Israeli government has issued a notice for thousands of African migrants to leave the country or face imprisonment.
The migrants will be given up to $3,500 (£2,600) for leaving within the next 90 days.
They will be given the option of going to their home country or third countries.
If they do not leave, the Israeli authorities have threatened that they will start jailing them from April.
The Israeli government says their return will be humane and "voluntary".
The order exempts children, women, parents of dependent minors and victims of slavery and human trafficking.
A spokesperson for Israel's Population and Immigration Authority told the BBC there were currently 38,000 "infiltrators" in Israel, of whom just 1,420 were being held in detention facilities.
Israel uses the term "infiltrators" to describe people who did not enter the country through an official border crossing.
Many of the migrants - who are mostly from Eritrea and Sudan - say they came to Israel to seek asylum after fleeing persecution and conflict, but the authorities regard them as economic migrants.
A note on terminology: The BBC uses the term migrant to refer to all people on the move who have yet to complete the legal process of claiming asylum. This group includes people fleeing war-torn countries such as Syria, who are likely to be granted refugee status, as well as people who are seeking jobs and better lives, who governments are likely to rule are economic migrants.
Update 5 January 2018: The categories of people who are exempt from the order to leave the country have been updated in this story.