Book 6: Whoever came back or went forward during the Salat (prayer) because of some urgent need
Sahih al-Bukhari
Sahih al-Bukhari 1205
Bishr bin Muhammad narrated to us, (he said:) Abdullah (bin Mubarak) told us. He said: Yunus (bin Yazid) narrated to us that Zuhri said: Hazrat Anas bin Malik (ra) told me: On Monday, while the Muslims were in the Fajr prayer (Salat) and Hazrat Abu Bakr (ra) was leading them in prayer, suddenly the Prophet (saw) appeared before them. He lifted the curtain of the apartment of Hazrat Aishah (ra) and looked at them while they were standing in rows. He smiled, and Hazrat Abu Bakr (ra) stepped back on his heels, thinking that the Messenger of Allah (saw) wished to come for the prayer, and when the Muslims saw the Prophet (saw), they were about to break off their prayers out of joy, but he gestured with his hand that they should complete the prayer. Then he went into the apartment and let the curtain fall, and on that very day he passed away.
AI-translated by Islam-Today