Can a 1099 Mortgage Interest be Filed by one Payer even it's both in our names?

My partner and I split in July 2025 and sold our primary residence in Arizona. The house was sold at a loss, and he withdrew some money from his retirement account to cover the closing costs. He now wants to claim the full amount of the 1099 mortgage interest, which I agreed to, but I am concerned about the risk of an IRS audit if I don't report half of it on my 2025 tax return. What is the best way to handle this situation to avoid any issues?

Thank you,

marchph2007