Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: "I was with my father in the presence of the Prophet (peace and blessings be upon him), and with the Prophet (peace and blessings be upon him) there was a man speaking to him privately, and he (peace and blessings be upon him) was as if turning away from my father. When we left him (peace and blessings be upon him), he said to me: 'Did you not see your cousin? He was as if turning away from me.' I said to him: 'Father, there was a man with him (peace and blessings be upon him) speaking to him (peace and blessings be upon him) privately.' He said: 'Was there someone with him (peace and blessings be upon him)?' I said: 'Yes.' So we went back and he said: 'O Messenger of Allah, I said such and such to Abdullah, and he told me such and such; so was there someone with you?' He (peace and blessings be upon him) said: 'Yes. O Abdullah, did you see him?' I said: 'Yes.' He (peace and blessings be upon him) said: 'That was Jibril (peace be upon him); it was he who kept me occupied from you.'"
Imam Ahmad (may Allah have mercy on him) narrated this hadith through Abu Kamil and Affan from Hammad (may Allah have mercy on him).
And his son Abdullah (may Allah have mercy on him) narrated it from Hudbah bin Khalid in the same way.