Contract for deed I paid 1250 security deposit for a rental.

Contract for deed
I paid 1250 security deposit for a rental. That lease would have been up on Sept.30th. In June me and the landlord did a contract for deed on the house where we did a seperate contract and I paid what was due on that. I am expecting my security deposit back from the original rental and he is saying that it’s like earnest money that he’ll give it back to me at the end when I go in for the home loan – up to 3 years from now.