Nope, bars don't close anywhere for prayer. There's no such law.
Although there are no bars in small villages, usually more alcohol is consumed in rural parts, with not much to do in the villages, people drink a lot.
They pretend to be hardcore islamists though.