The Congress on Thursday won the Jamalpur assembly by-poll in Gujarat with its candidate Shabir Khedawala defeating the Bharatiya Janata Partys Lalji Parmar by 17,000 votes.