Sahih al-Bukhari 754
Yahya bin Bukair narrated to us, he said: Laith bin Sa'd told us. He narrated from Uqail, Uqail from Ibn Shihab. He said: Hazrat Anas (ra) (bin Malik) told me. He used to say: While the Muslims were in the Fajr Prayer, suddenly the Messenger of Allah (saw) lifted the curtain of the chamber of Hazrat Aishah (ra) and looked at them. They were standing in rows. He smiled, and Hazrat Abu Bakr (ra) stepped back on his heels so as to join the row (in case of his coming), thinking that the Holy Prophet (saw) wished to come out. And the Muslims were about to be thrown into confusion during the Prayer, when he gestured to them: Complete your Prayer. And he let the curtain fall, and he passed away at the end of that same day.
AI-translated by Islam-Today