Sayyiduna Ibn Abbas (may Allah be pleased with them both) narrated: I was performing tawaf with the Prophet (peace and blessings be upon him) when he (peace and blessings be upon him) heard a man saying: "O Allah, forgive so-and-so son of so-and-so." The Prophet (peace and blessings be upon him) said: "What is this?" He said: "A man asked me to supplicate for him." The Prophet (peace and blessings be upon him) said: "Your companion has been forgiven."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12247