Get your taxes done using TurboTax

I would like a clarification. My spouse died in 2023 after taking her RMD and I then rolled her IRA into mine also in 2023. For tax year 2023, do I put her 2023 end of year basis as a non-deductible contribution to my IRA, or do I do this for 2024 taxes?