A group of people threw stones and bottles at the car of Congress candidate from Adampur assembly seat Jai Parkash when he came out of the counting centre set up at Mahavir Stadium in Hisar on Sunday.
A window glass of the car were broken in the attack, which began just as police and Jai Parkash's supporters took his vehicle out.
No one was hurt in the incident, said officials.
In his complaint lodged with the Superintendent of Police, Jai Parkash accused BJP leader Kuldeep Bishnoi's supporters of carrying out the attack and demanded an action against them.
BJP's Bhavya Bishnoi on Sunday won the Adampur assembly segment defeating Jai Parkash by a margin of 15,740 votes. Bhavya, 29, is the grandson of former Haryana Chief Minister Bhajan Lal.
The by-election was necessitated after Kuldeep Bishnoi, Bhavya Bishnoi's father, left Congress for BJP.
Bhavya Bishnoi polled 67,492 votes, while Prakash secured 51,752 votes.
(Except for the headline, this story has not been edited by NDTV staff and is published from a syndicated feed.)
Featured Video Of The Day
'Why Are BJP Allies Silent?' Congress On Amit Shah Ambedkar Comment Row "Frontal Attack On Constitution": Congress Chief Slams Poll Rules Tweak Trinamool Congress Leader Abul Nasar Found Dead At Hotel In West Bengal Allu Arjun Summoned By Hyderabad Police For Questioning In Stampede Case Trump Says US Ownership Of Greenland Absolutely Necessary, Nation Responds Pakistan May Get 40 5th-Gen Stealth Fighter Jets From China Within 2 Years Two Arrested For Lynching Man Over Stealing Money In Mizoram: Cops Manipur's Naga Groups Allege Kuki Volunteers Assaulted Students' Body Members Congress Leader Files Complaint Against Allu Arjun Over Scene In 'Pushpa 2' Track Latest News Live on NDTV.com and get news updates from India and around the world.