Six people were arrested for attempt to murder.
"The incident occurred on Thursday evening at 5.00 pm when some of the victim family members, belonging to a minority community, were playing cricket outside their residence in Bhup Singh Nagar," Assistant Commissioner of Police, Gurgaon, Shamsher Singh said.
The family later alleged it was a planned attack by a group of people "backed" by a Hindutva group.
The police, however, did not confirm the allegation.
A mob of about 40 people was allegedly involved in the attack on the family of three or four people in Bhondsi area, police said.
According to a victim, Shahid, six to seven drunk people asked his my family members not to play cricket on the street.
The ACP said when the family continued to play cricket, the assailants were joined by over 40 youths who attacked the family with batons, iron rods, hockey sticks, and water pipes.
In a bid to save themselves, the victims rushed into their house but some of the attackers managed to barge in and beat them. The ones who didn't enter pelted stones at the house.
They attacked Shahid with sticks and iron rods until he lost consciousness, the officer added.
The attack was captured on cell phone by one of the victims. The video clip purportedly showed women family members pleading for mercy while Shahid was being thrashed, he said.
"We have registered a case of attempt to murder and other relevant sections against the attackers at Bhondsi Police station. We have arrested six goons and efforts are on to identify others with the help of the video," the ACP said.
The victim family claimed the police took about 40 minutes to come to their rescue, though they kept calling on the help number. By then, the attackers had escaped, they claimed.
Gurugram victims recount horror incident
Samaira, one of the victims of Gurugram incident in which a family was beaten up mercilessly, has said the attackers armed with sticks and rods told them not to play cricket on Holi.
"They broke windows and doors, and thrashed our family brutally," she said while describing the grievous incident in Bhondsi on Friday.
"We were making food for some guests when suddenly the attackers entered our home. They thrashed me with sticks and hurled abuses when I tried to stop them," said Samaira.
Dilshad, another victim, said: "We love India. It is grievous when someone says to Muslims that they should go back to Pakistan. Hindus and Muslims are brothers. Whether Hindu or Muslim, we are Indians."
"We tried to close the gate, but she thrashed my aunt. They also thrashed my brothers and uncles. I was crying and pleading but no one came to our rescue," said Danishtha who filmed the incident.
-- With inputs from ANI
Lynchings from another time
Why do governments bow to mob violence?
'India is moving towards a dangerous precipice'
Why are some lynchings front page news and some not?
Why is there no Mann Ki Baat to stop lynchings?