Barnabas is both a masculine given name and a surname.
As a given name, it is a New Testament name which means "son of the prophet".
[1] Variants of the name include Barnaba, Barnaby,[2] and Barnabás, a Hungarian masculine given name.