Mandsaur Additional Sessions Judge Rajvardhan Gupta was beaten up by some people after a boy was hit by his car and got injured at Sunthod village on July 23, according to the police.
A video of the incident had gone viral.
The petition would come up for hearing on August 1.
The High Court Registrar General Manohar Mamtani apprised the acting Chief Justice Rajendra Menon who decided to take up the case suo motu, a release from the High Court administration said.
Watch the video uploaded on YouTube by a user: