Retirement tax questions

My husband passed in 2022 but received money from a class action suit in 2023.  I added it on my taxes under 1099-misc but federal and state kicked it back because they said it was for someone who is deceased.  The 1099 envelope states my name and my husbands but the 1099-misc is just in his name with his Social Security number.  I took this amount off of my taxes and tried to submit my return but the IRS and state are still rejecting it.