The Rajasthan High Court has ruled that an Iranian national is entitled to have the period spent in a detention centre after being granted bail counted towards his prison sentence. The Court held that detention at a centre cannot be excluded from the benefit of sentence set-off under Section 468 of the Bharatiya Nagarik Suraksha Sanhita (BNSS) when the confinement is connected to the same criminal case and is not preventive detention.
Background
The matter concerned Hoshiyar Mohammad Niyan, an Iranian national lodged at Central Jail, Bikaner. In an earlier order dated September 29, 2026, the High Court had reduced his sentence under the Foreigners Act, 1946, to three years of rigorous imprisonment. His sentence under the NDPS Act was also reduced to one month.
Niyan had been granted bail during the pendency of the trial. However, instead of being released, he was transferred to a detention centre at Central Jail, Alwar, because he did not possess valid documents to stay in India or return to Iran.
He subsequently sought clarification on whether the period spent in the detention centre could be counted towards his sentence.
The Court examined Section 468 BNSS, which allows the period spent in detention during the investigation, inquiry or trial of the same case to be deducted from the sentence imposed after conviction.
It noted that Niyan's detention was not preventive detention. The Public Prosecutor also admitted that he had remained in the detention centre from July 8, 2023, until his transfer to Central Jail, Bikaner, and that no other criminal case was registered against him.
Relying on the Supreme Court's decisions in Atul Manubhai Parekh v. Central Bureau of Investigation and The Superintendent of Prison v. Venkatesan, the High Court emphasised that the connection between the detention and the criminal case was essential.
The Court observed:
"The petitioner after execution of bail and bond pursuant to bail order passed by a Co-ordinate bench of this Court was not set at liberty to enjoy his freedom allowed after the bail rather he was transferred from prison to detention centre which is also established at Central Jail at Alwar."
It further clarified the legal requirement for claiming set-off:
"The detention must be in same case in which conviction order has been passed and set off is available only for pre-conviction period in same case, however, the detention must not be a detention under any preventive detention law."
The Court found that although Niyan was not in judicial custody, the authorities had continued to restrict his liberty after granting bail. His detention was connected with the same criminal case, and there was no separate preventive detention order.
Allowing the application, the High Court clarified that Hoshiyar Mohammad Niyan was entitled to set-off for the period spent in the detention centre at Central Jail, Alwar.
The miscellaneous application was accordingly disposed of.




