Right of Redemption

I bought a house at a foreclosure sale. A separate investor bought the redemption rights. I paid him to get the rights. I'm need to know where to put the amount I paid him on my taxes.