The Election Commission has not officially announced the results as yet.
Though the victory of KN Khader was on predictable lines, but what has surprised the pundits is the emergence of Muslim hardline party SDPI, which ended in the third place pushing BJP candidate into the fourth spot.
The sitting MLA of Vengara PK Kunhalikkutty contested and won from the Malappuram Parliament constituency following the demise of E Ahamed earlier this year - paving way for a by-election.
However, the UDF will examine the fall of votes vis-à-vis the relations between the Congress and the IUML in different panchayats in the constituency.
Khader secured 65,227 votes against Basheer's 41,917.
Despite the glittering victory, things are not looking good for UDF as the result shows descent in margin from 38,057 in 2016 general election to 23,310.
All the dominant front were confident of better performance after the constituency witnessed the highest of voter turnout on Wednesday's polling which was 72.12 percent.
Sunil Jakhar mainted lead over his rivals ever since the first round of counting. In 2016 polls, BJP candidate had secured 7,211 votes while this time they got only 5728 votes from the Constituency. What was left to be seen in this election was not who will win, but by how much.
The Gurdaspur by-election was necessitated by the death of actor-turned-politician Vinod Khanna, a BJP MP.
A total of six candidates including two independents are in the fray.
Kozhikode: The counting of votes in the Vengara bypoll will begin at 8 am on Sunday. No hotel, restaurant, liquor shop or any eating joint, even with a licence, would be allowed to serve or sell liquor today.
Tight security arrangements have been made at the counting centres, an official said.