Hundreds of supporters of former Pakistani Prime Minister Nawaz Sharif are protesting a court ruling that bans him from running for parliament in this week 's by-election .