Income and expense accrued the year after a property sale

I have a multi-member LLC that sold a property in late December 2022.  The LLC received income and expenses from the property in early 2023. How do I report the income and expenses in 2023 when there is no longer an asset on the books that generated the income and expense?

 

Thanks,