Zakariyya (peace be upon him) was a carpenter.

Sahih Muslim Book 43 Hadith 220

Sahih Muslim #2379

The Book of Virtues 43:220

Abu Huraira reported Allah's Messenger (ﷺ) as saying:

Zakariyya (peace be upon him) was a carpenter.

Chapter: The Virtues Of Zakariyya, Peace Be Upon Him

Grade: Sahih