Pakistan's Supreme Court on Thursday ordered the release of former Prime Minister Imran Khan after terming his arrest unlawful.
The country's top court also directed Khan to appear before the Islamabad High Court (IHC) tomorrow, adding that he will have to abide by whatever decision the IHC gives.
Khan, who heads the Pakistan Tehreek-e-Insaf (PTI) party would spend the night in the same police guest house as before but allowed to meet a limited number of friends and family.
It was not immediately clear when he would be allowed to go home.
The latest orders were issued by a three-judge bench, headed by Chief Justice Umar Ata Bandial.
"The Supreme Court reversed all legal proceedings against Imran Khan ... he has been asked to present himself in the Islamabad High Court on Friday morning," lawyer Babar Awan told reporters.
Awan added that the court had ruled that Khan was now under its custody and not the anti-graft agency.
Imran Khan's detention on graft allegations has ignited deadly protests and a tussle with the country's powerful military.
The Indian airports authority said late on Friday that a system used to generate flight plans was "up and running", more than a day after a technical glitch led to delays of hundreds of flights at Delhi airport, one of the world's busiest.
Explosions at a mosque in Indonesia's capital Jakarta that injured dozens of people during Friday prayers could have been an attack, officials indicated, with a 17-year-old identified as the suspected perpetrator.
More than 200 flights were delayed at Delhi airport, one of the world's busiest, after an air traffic control messaging system suffered a technical problem, India's airport authority and a source familiar with the matter said on Friday.
India's top court said on Friday that a preliminary report on an Air India crash that killed 260 people in June does not insinuate anything against the captain, but it will hear a plea from the pilot's father on November 10 for an independent probe.
Belgium's Liege airport has resumed flights after a temporary halt due to a drone sighting, the country's air traffic control service said on Fridayin the second such incident this week.