Section 80 of IPC 1860: Accident in doing a lawful act

Accident in doing a lawful act-Indian Penal Code
Nothing is an offence which is done by accident or misfortune, and without any criminal intention or knowledge in the doing of a lawful act in a lawful manner by lawful means and with proper care and caution.