Investors & landlords

What if the money was received in a different year since the  property has since been sold.