Dividend declared in2023 and payed in 2024

Disney declared a dividend in December of 2023 and paid it in January of 2024.  Do I include it in the 2023 taxes which I am doing now, or wait till next year's taxes.