Deductions & credits

That depends.

 

If you got a 1099-S at the closing, you must report the sale even if you did not have a taxable gain.

 

If you did not get a 1099-S, you do not have to report the sale if this was your personal home, and your gain was less than your personal exclusion limit.  If your gain was more than your exclusion limit, you must report it.  For information on how to calculate your exclusion limit, and your gain, see publication 523.

https://www.irs.gov/pub/irs-pdf/p523.pdf

 

If you report the gain for any reason, that means your tax return will include schedule D to report capital gains, and form 8949 to report the details of the sale of the property.  You do not include your contract, HUD-1 statement, or any other original documents, although you should save those documents in case of audit later.