There are no provisions to allow for that transaction to be considered a 2023 sale.
Additionally, this transaction will not be reported on a Fidelity 1099-B until 2024 tax documents are released.
*A reminder that posts in a forum such as this do not constitute tax advice.
Also keep in mind the date of replies, as tax law changes.