The Chief Judicial Magistrate, S M Hussain, granted him bail after the Speaker moved a petition for it.
An FIR was filed against Singh with the Sukhdeo Nagar Police Station charging him with violation of model code when he inaugurated a development scheme at Hatia, where a bypoll was scheduled in June this year.