It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) said: "Jibril (peace be upon him) came to me twice at the door of the Ka'bah." Then he narrated the long hadith, and in it is that on the second occasion he then led Asr when the shadow of everything had become twice its length.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 1714