Deductions & credits

We sold the house 8 months after my mother died, and neither of us lived in it. Would the sales price still be the FMV? Is that considered shortly after inheriting it?

Thank you so much for the help.