Hagab was an ancestor of a family of temple servants. They returned with Zerubbabel to Palestine after the exile in Babylon (Ezra 2:46).
Hagab: A temple servant who returned from Babylonian exile