Retirement distribution

Hi there - my husband took $30k from his retirement account t last November for a down payment on a house we are building. How should we treat this? We also have 3 kids and currently rent. Looking to maximize deductions as much as possible. Any help would be appreciated.