No, foreclosing your loan will have no impact on your credit/bureau record (Bureau/Experian et c). Once the loan is foreclosed, the same will be reported to bureau/ credit record (Bureau/Experian et c.) as Closed.