The sun was eclipsed, so the Messenger of Allah prayed... and in it,They said, "Messenger of Allah, we saw you reach out for something while standing in your place, then we saw you draw back."He replied, "I saw Paradise and reached out for a cluster of grapes from it. Had I taken it, you would have eaten from it for as long as the world remained..." the hadith continues.
خسفت الشمس، فصلى رسول الله… وفيه: قالوا: يا رسول الله، رأيناك تناولت شيئا في مقامك هذا، ثم رأيناك تكعكعت. فقال: إني رأيت الجنة، فتناولت منها عنقودا، ولو أخذته لأكلتم منه ما بقيت الدنيا… الحديث.
Malik narrated it in Prayer of the Eclipse (445) from Zayd bin Aslam, from Ata bin Yasar, from Abdullah bin Abbas, and he mentioned it in a long hadith. Bukhari narrated it in the Eclipse (1052) through the route of Malik, with the same wording. Muslim narrated it in the Eclipse (907) through another route from Zayd bin Aslam, with the same wording.