It is narrated from Ali (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) seated Fadl bin Abbas (may Allah be pleased with him) behind him, and he (peace and blessings be upon him) stoned the Jamrah. A young girl from the tribe of Khath'am came and said: O Prophet of Allah (peace and blessings be upon him)! My father is an old man, he has become senile, and the obligation of Hajj is due upon him. If I perform Hajj on his behalf, will it suffice? He (peace and blessings be upon him) said: "Perform Hajj on his behalf," and he turned the neck of Fadl bin Abbas (may Allah be pleased with him) away. Al-Abbas (may Allah be pleased with him) said: O Messenger of Allah (peace and blessings be upon him)! Why did you turn the neck of your cousin? He (peace and blessings be upon him) said: "I saw that he was young and the girl was young too, and I did not feel safe from Satan regarding them."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13512