When a taxpayer dies, the tax basis of the property is the value of the property on the date of death. As such, if property is sold for this date-of-death value, there is no gain or loss.
A statutory requirement for the deductibility of a business expense.