Do I have to report the sale of stock that we transferred directly to a non profit?

we are claiming the transfer as a donation.