There is no tax topic for "buying a home". There are however potential itemized deductions for homeowners. Typically those are the mortgage interest paid and real estate (property) taxes paid.
The information for those deductions is usually found on a form 1098 issued by the mortgage company and the homeowners receive a copy. The form 1098 information is then entered in the "Deductions & Credits" section. Scroll down to "Your Home" and use the dropdown list to find the applicable topics.
If the total itemized deductions exceed their standard deduction ($27,700 for married filing jointly) then the itemized deductions will be used.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"