Get your taxes done using TurboTax

I agree with @Anonymous - the retained earnest money is ordinary income; there was no sale or exchange.

 

In TuboTax, you would enter this in the Less Common Income section by clicking the Start (or Update) button to the right of Miscellaneous Income, 1099-A, 1099-C.