My rental property was burned down (fire) and my HOA rebuilt it then I sold.

My rental property was burned down in July 2023, I did not mention this in my 2023 return. I also did not have any homeowners insurance on the property. The property was deemed a total loss. My HOA's master insurance rebuilt it in July 2024  and I just sold it.  How would I incorporate all of these events for the coming tax year?