Nope, at least not typically.
Typically in the US houses are sold as-is unless it's noted in the closing docs. Everything in or on the house when you close is yours. The seller would be the one fighting with the financing company, as (again unless noted in closing docs) they would be considered fixtures and considered part of the real estate sale.
If the solar panels were financed with an unsecured loan, then the home buyer would unambigously own them. It is also possible for the lender to have a lien against the panels; which again would survive the home sale.