Indonesia and Malaysia will provide temporary shelter to thousands of migrants who had been stranded at sea, marking the first breakthrough in the humanitarian crisis confronting south-east Asia.
Most of the migrants are the persecuted Rohingya Muslim minority from Burma and others are Bangladeshis fleeing poverty.
The agreement came as more than 430 migrants who had been stranded at sea for months were rescued and taken to Indonesia.
"Indonesia and Malaysia agreed to continue to provide humanitarian assistance to those 7,000 irregular migrants at sea," Mr Anifah told reporters.
He said the two countries "also agreed to provide them temporary shelter provided that the resettlement and repatriation process will be done in one year by the international community".
More top news
The Democratic presidential candidate may also have shown his cards on his choice of running mate.
The US president also shared a post on Twitter accusing Dr Anthony Fauci of misleading the public over hydroxychloroquine.
Fears over an impending second wave of coronavirus dominates Wednesday’s front pages.