The Chandogya Upnishad is a Sanskrit text embedded in the Chandogya Brahmana of the Sama Veda of Hinduism It is one of the oldest Upanishads. According to the Chandogya Upnishad, a person's intentions and thoughts continue to influence their existence even after death.
Listen to this episode of "Intention mrityu ke baad bhi effect karti hai (Chandogya Upnishad)" of the podcast Upnishad Simplified by Dr Shisham Aggarwal.
For more such information check out the book - https://www.amazon.in/s?i=stripbooks&rh=p_27%3ADr.+Shisham+Bansal&ref=dp_byline_sr_book_1