Thousands turn out for pre-election prayer rally