2026 Supreme(All) 1299
HIGH COURT OF JUDICATURE AT ALLAHABAD
J.J. MUNIR, TARUN SAXENA, JJ.
Achal Kumar Gupta - Petitioners
Versus
State of U.P. and others - Respondents
Habeas Corpus Writ Petition No. - 518 of 2026 (Along with Criminal Misc. Writ Petition No. 27881 of 2025)
Decided On : 01-07-2026
Important Points
Subject
Constitutional Law - Writ Jurisdiction (Habeas Corpus)
Act Referred
BHARATIYA NYAYA SANHITA : S.318(4), S.336(3), S.338, S.340(2), S.61(1), S.61(2)
BHARATIYA NAGARIK SURAKSHA SANHITA : S.301, S.302, S.302(1)(a), S.304, S.304(c), S.47
CONSTITUTION OF INDIA : Art.22(1), Art.226
PRISONERS ATTENDANCE IN COURTS ACT : S.304(c), S.6(d)
Headnote
(B) Arrest - Communication of grounds - Mandatory constitutional requirement to inform the arrestee of the grounds of arrest in writing - Failure to furnish written grounds of arrest as soon as may be violates fundamental rights, rendering the arrest and subsequent remand illegal. (Paras 39, 44)
(C) Judicial Orders - Non-compliance - Any detention continuing in direct violation of a court-directed release order is a nullity - Jail authorities are under a positive obligation to release the detenue immediately upon the passing of a release order by a superior court without awaiting further processes. (Paras 28, 36)
Facts of the case:
The petitioner, while in custody, was ordered to be released forthwith by the Court in an earlier criminal proceeding. Despite this order, the detention was continued by the authorities on the basis of production warrants issued by different magistrate courts in separate matters. The petitioner filed this petition for a writ of habeas corpus, arguing that his continued incarceration was unauthorized as he was not in lawful custody at the time the production warrants were issued and executed, and further, that no grounds of arrest were provided to him.
Findings of Court:
The court observed that the petitioner’s custody became non-est the moment the initial release order was passed. The production warrant did not possess the legal efficacy to authorize the detention of a person who had already been declared entitled to liberty. Furthermore, the authorities failed to adhere to the constitutional mandate of communicating the grounds of arrest in writing, which vitiated the subsequent remand orders.
Issues: (i) Whether a production warrant can serve as an independent authority to detain an individual who is not currently in lawful custody at the time of issuance; (ii) Whether the failure to communicate the grounds of arrest in writing renders the detention illegal.
Ratio Decidendi: Lawful custody at the time of issuance of a production warrant is a mandatory requirement. Once an order for release is passed, the detention authority is obligated to comply forthwith. Any detention carried out in breach of such an order, or without the mandatory communication of the written grounds of arrest, constitutes an unauthorized deprivation of liberty, necessitating the issuance of a writ of habeas corpus.
Result: The petition was allowed; the detention was declared illegal and the petitioner was ordered to be set at liberty forthwith.
Advocate Appeared:
For the Petitioner:Mr. Anil Kumar Tiwari, Senior Advocate along with Mr. Kabeer Tiwari, Advocate
For the Respondent:Mr. Manish Goyal, Additional Advocate General along with Mr. Arvind Kumar, Additional Government Advocate
JUDGMENT :
(DELIVERED BY : J.J. MUNIR, J.)
This habeas corpus writ petition has been filed by the petitioner, seeking a rule nisi to produce the petitioner, and upon production, direct his release from illegal custody. The petitioner says that his custody is illegal, because he was summoned on the basis of a B-warrant dated 06.02.2026, when already ordered to be released by this Court and subsequently remanded by the Magistrate vide order dated 10.02.2026 passed in Case Crime No. 4 of 2026 under Sections 420, 467, 468, 471, 102 of the Indian Penal Code, 1860[‘IPC’ for short], Police Station Ganga Nagar, District Meerut. The petitioner has challenged B-warrant dated 04.02.2026 as well as remand order dated 10.02.2026 as a process and order made in violation of the interim order of this Court dated 10.02.2026 passed in Criminal Misc. Writ Petition No. 27881 of 2025, ordering the petitioner to be released forthwith in Case Crime No. 453 of 2025, under Section 318(4), 338 and 336(3) of the Bharatiya Nyaya Sanhita, 2023[‘BNS’ for short], Police Station Beta 2, Gautam Buddha Nagar. The order of release from custody in Case Crime No. 453 of 2025 was passed by this Court on ground that the grounds of arrest mentioned in the arrest memo were not specific, rendering the arrest illegal.
2. The nutshell of the petitioner's case is that before he could be physically released from custody, in compliance with the order dated 04.02.2026 passed by this Court in Criminal Misc. Writ Petition No. 27881 of 2025, he was got summoned by the Court of the Additional Chief Judicial Magistrate, Court No. 7, Meerut on a B-warrant dated 06.02.2026, and upon production, remanded to judicial custody by the order dated 10.02.2026. The petitioner says that since he was not in lawful custody on 06.02.2026 by dint of the order of this Court dated 04.02.2026, he could not be summoned under a B-warrant, which is available against a person in custody, which means lawful custody. His production through the aforesaid B-warrant and the subsequent remand are both illegal, rendering his detention in Crime No. 4 of 2026 (supra) illegal from the inception of it. The petitioner, therefore, says that he is entitled to a habeas corpus, ordering him to be released from illegal custody.
3. We must remark that if pursuant to processes, that are so illegal that they are void, the petitioner is in custody, which is illegal as well, the reliefs for quashing the B-warrant and the remand order initially sought, and subsequently added through amendment, would not at all be necessary. The Office of a Habeas Corpus Petition is confined to determining the legality of the detention, and, if the detention is per se illegal, any order authorising it contrary to law would not stand in the way of a writ of habeas corpus being issued.
4. It is further clarified at this stage that the petitioner has also said that he was illegally produced through B warrant in the present case and unlawfully remanded, because his arrest in the earlier case was illegal and non est. This subsequent ground, we must remark here, cannot be the subject matter of challenge in this petition, because, that is already sub judice in Criminal Misc. Petition No. 27881 of 2025, where an interim order, directing the petitioner's immediate release, has been passed.
5. We would now turn to the facts of the petitioner's case, as he has pleaded them.
6. Crime No. 453 of 2025 (supra) was registered at Police Station Beta 2, Gautam Buddha Nagar on 30.09.2025 against the petitioner, carrying allegations, which primarily disclose dispute of a civil nature. The petitioner challenged the remand order dated 12.10.2025 and 13.10.2025 as well as the consequential proceedings arising out of his illegal arrest made on 11.10.2025 in connection with Crime No. 453 of 2025 by means of Criminal Misc. Writ Petition No. 27881 of 2025 before this Court. This Court, after considering the petitioner's case regarding the validity of his arrest and the cons



