ตัวบทStatutory text
มาตรา 23 ผู้ใดกระทำความผิดซึ่งมีโทษจำคุก และในคดีนั้นศาลจะลงโทษจำคุกไม่เกินสามเดือน ถ้าไม่ปรากฏว่าผู้นั้นได้รับโทษจำคุกมาก่อน หรือปรากฏว่าได้รับโทษจำคุกมาก่อน แต่เป็นโทษสำหรับความผิดที่ได้กระทำโดยประมาท หรือความผิดลหุโทษ ศาลจะพิพากษาให้ลงโทษกักขังไม่เกินสามเดือนแทนโทษจำคุกนั้นก็ได้
Section 23 Whoever commits an offence punishable by imprisonment, where the court would impose imprisonment of not more than three months in that case, may, if it does not appear that the person has previously been imprisoned, or it appears that he has been imprisoned only for an offence committed negligently or a petty offence, be sentenced by the court to confinement of not more than three months in place of that imprisonment.