It wasnarrated that Ibn 'Abbas said:
"A man came to the Prophet(ﷺ)and said: 'Shall I perform Hajj on behalf of my father?' Hesaid:'Yes, perform Hajj on behalf of your father, for if you cannotaddany good to his record (at least) you will not add anything bad.'"
English reference: Vol. 4, Book 25, Hadith 2904
Arabic reference: Book 25, Hadith 3016