Section 147 IPC defines rioting:
"Whoever is a member of an unlawful assembly, and continues to be a member of it after it has been commanded in the manner prescribed by law to disperse, is said to be guilty of the offence of rioting."
Elements:
Punishment: Up to 1 month imprisonment, fine, or both.