This is typically known as income in respect of a decedent (IRD).
See https://www.irs.gov/publications/p559#en_US_2022_publink100099579
You would report the income on your individual income tax return if you received.
Alternatively, if the estate received the income, the estate would report it on the estate's income tax return (Form 1041).