ひまであれば
ohimadeareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of お暇

1. If you have time; When you are free

Ba Conditional