Deductions & credits

if this was an escrow deposit for a sale that was scheduled to close in 2025 but fails. I wouldn't report it as income until 2025