How to enter 1099-S on excess proceeds on foreclosure

My mom’s husband died in February 2018. His name was the only name on the mortgage at the time of death. The home went into foreclosure and the home was sold in March 2022. In 2024, my mom received the excess proceeds from that sale. She has now received a 1099-S from the company that sold the home. Box 1 has the date of closing from March 2022, Box 2 has the gross proceeds, and Box 3 has the address of the foreclosed home. Where and how do I need to report this on my mom’s taxes?