London - A Nigerian asylum seeker said to be near death from a hunger strike failed in his bid on Thursday to be freed from a British detention centre.
Isa Muazu, 45, from Maiduguri, came to Britain in 2007 and claimed asylum saying that Boko Haram was trying to kill him.
He has challenged Interior Minister Theresa May's decision to keep him in detention and has been on hunger strike for 90 days.
Three judges on Thursday unanimously ordered an urgent full hearing of the case next Monday.
But they refused to direct his release from the Harmondsworth immigration removal centre near Heathrow Airport in west London until the hearing.
Judge Maurice Kay, vice-president of the Court of Appeal, described Muazu as being "in a sorry state" and an end of life care plan had been prepared for him.
But the judge said Muazu had chosen not to eat, saying "that is his prerogative and we do not think he is entitled to interim relief".
Muazu entered Britain in July 2007 on a visitor's visa but did not leave when it expired in January 2008, and found work in London.
He said he sought asylum after members of Boko Haram threatened to kill him unless he joined them and claims two members of his family have been killed by the group.
His application to stay in Britain was refused and he was detained by immigration authorities on July 25.