ne igyál előre a medve bőrére

Etymology
Literally: "do not drink (i.e. rejoice) in advance on the hide of a bear (still at large)"

Proverb

 * 1) don't count your chickens before they're hatched