Section 269(c) in The Code of Criminal Procedure, 1973
(c)is in custody for a period which would expire before the expiration of the time required for complying with the order and for taking him back to the prison in which he is confined or detained; or