If any person, in committing or in attempting to commit robbery, voluntarily causes hurt, such person, and any other person jointly concerned in committing or attempting to commit such robbery, shall be punished with [imprisonment for life], or with rigorous imprisonment for a term which may extend to ten years, and shall also be liable to fine.
Section 394 IPC
Voluntarily causing hurt in committing robbery
The Indian Penal Code, 1860 is repealed. It was replaced by The Bharatiya Nyaya Sanhita, 2023 from 1 July 2024; this provision still applies to matters that arose before then.