You'll enter the commission as a sale expense when you report the sale price of the rental property. Allocate both the sale price and the commission between the asset (building) and the land. (Click the screenshot below for reference.)
Please see the FAQ below for instructions on how to report a rental sale in TurboTax.
I sold my rental property. How do I report that?
https://ttlc.intuit.com/replies/3388350