The boy's father said two friends of his son brought him home. (Representational)

A six-year-old boy died in Madhya Pradesh's Indore on Sunday after his friends, who were of similar age, allegedly pumped air into him by inserting a compressor into his rectum while playing, police said.

Inspector of Bhanwar Kua police station Sanjay Shukla said the boy was identified as Kanha Yadav.

"The father of the deceased works in a factory in Palda industrial area and lives with his family on the premises. As per the initial investigation, we have come to know that the boy's friends filled his abdomen with air by inserting an air compressor's nozzle into his rectum when they were playing," he said.

The boy was rushed to the government-run Maharaja Yeshwantrao (MY) hospital after the alleged incident where he died, the inspector added.

His body was sent for post-mortem, Mr Shukla said, adding that once his autopsy report comes, the exact reason of his death will be known.

The boy's father Ramchandra Yadav said two friends of his son brought him home.

"His stomach was swollen. I immediately took him to the hospital," he said.

"I have come to know that his friends pumped air into him using an air compressor at the factory," Ramchandra Yadav added.