حَدَّثَنَا عَبْدُ اللهِ بْنُ أَحْمَدَ بْنِ حَنْبَلٍ، ثنا أَبِي، أنا عَبْدُ الرَّزَّاقِ، أنا سُفْيَانُ الثَّوْرِيُّ، عَنِ الشَّيْبَانِيِّ، عَنْ يَزِيدَ بْنِ الْأَصَمِّ، عَنِ ابْنِ عَبَّاسٍ أَنَّ رَجُلًا سَأَلَ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ , فَقَالَ: يَا رَسُولَ اللهِ , أَحُجُّ عَنْ أَبِي؟، فَقَالَ: «نَعَمْ إِنْ لَمْ تَزِدْهُ خَيْرًا لَمْ تَزِدْهُ شَرًّا»
It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that a man asked the Prophet (peace and blessings be upon him): O Messenger of Allah, shall I perform Hajj on behalf of my father? He (peace and blessings be upon him) said: "Yes; even if it does not benefit him, it will not harm him."