Choosing the lesser of the two evil in elections, voting.
Even though, in general, democracy, election, voting, participating in Kufr politics is not allowed as it leads to ruling by other than what Allah has revealed. It goes against the very fundamental teachings of Islam. Where man-made secular rule, policy and law is given preference at the expense and over the Shareah of the Creator, Allah. But in certain times and places looking at specific situations, circumstances particularly in non-Muslim lands where minority Muslims will and can only get their rights fulfilled by voting for a candidate, party whether Muslim or not that will bring about benefits for the Muslim community and ward off any harm and restrictions.
Below we refer you to links of the great Scholars of our time concerning democratic elections, where the Muslim community may not have any choice but to vote for a candidate that will benefit the community or ward off a greater harm. Though, in general, democracy, election, voting, participating in Kufr politics is not allowed.
On the issue of voting
Imam Al Albani on voting
Shaykh Abdul Muhsin al Abbad on voting (teacher in Masjid An Nabawi,
Shaykh Wasiullah Abbas on voting (teacher at the Kaba in Makkah)
Shaykh Muqbil speech on voting, election and democracy
Still confused about voting? Confusion?