The Messenger of Allah ﷺ said, "While I was sleeping, I saw myself standing at a watering pool drawing water for the people. Abu Bakr came to me and took the bucket from my hand to give me rest. He drew two buckets, but there was some weakness in his drawing, and may Allah forgive him. Then Ibn al-Khattab came and took it from him, and he kept drawing until the people had departed, with the pool overflowing."
قال رسول الله ﷺ: بينا أنا نائم رأيت أنا على حوض أسقي الناس، فأتاني أبو بكر، فأخذ الدلو من يدي ليريحني، فنزع ذنوبين، وفي نزعه ضعف، والله يغفر له، فأتى ابن الخطاب، فأخذ منه، فلم يزل ينزع حتى تولى الناس، والحوض يتفجرا.
Bukhari narrated it in the Book of Dream Interpretation (7022) via Abdul-Razzaq, from Maamar, from Hammam, that he heard Abu Hurairah say it, so he mentioned it. Muslim also narrated it in the Book of the Virtues of the Companions (18:2392) via Amr bin Harith, from Abu Yunus, the freed slave of Abu Hurairah, from Abu Hurairah, similarly.