No, this is not a prohibited transaction. It's a normal distribution subject to tax and, if under age 65, subject to penalty.
Prohibited transactions are those that disqualify the HSA from being an HSA, such as pledging the HSA assets as collateral for a loan.