It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) heard a man saying the talbiyah on behalf of Shubrumah, so he called him and said: "Have you performed Hajj?" He said: No. He (peace and blessings be upon him) said: "This one is for you; then perform Hajj on behalf of Shubrumah."
The narration of those who reported the hadith of Ata as mursal is more correct, and Allah knows best.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحج / 8681