The Messenger of Allah ﷺ said, "Zakariyya was a carpenter."
حدثنا عفان حدثنا حماد بن سلمة قال أخبرنا ثابت عن أبي رافع
قال رسول الله ﷺ كان زكريا نجارا
No references are available.
Its isnad is sahih, Muslim reported it (4/1847, no. 2379) in "The Virtues," chapter on the virtues of Zakariya, and Ibn Majah (2/727, no. 2150) in "Business Transactions," chapter on crafts.