Here we will see Section 310 IPC | Indian Penal Code.
Thug.— Whoever, at any time after the passing of this Act, shall have been habitually associated with any other or others for the purpose of committing robbery or child–stealing by means of or accompanied with murder, is a thug.