The Prophet ﷺ fell ill, and his illness grew severe. He said, "Tell Abu Bakr to lead the people in prayer."Ayesha said, "He is a tender-hearted man. If he stands in your place, he will not be able to lead the people in prayer."He said, "Tell Abu Bakr to lead the people in prayer."She repeated her objection, and he said, "Tell Abu Bakr to lead the people in prayer. You are like the companions of Yusuf."So the messenger went to Abu Bakr, and he led the people in prayer during the lifetime of the Prophet ﷺ.
قال مرض النبي ﷺ فاشتد مرضه فقال: مروا أبا بكر فليصل بالناس، فقالت عائشة: إنه رجل رقيق، إذا قام مقامك لم يستطع أن يصلي بالناس. قال: مروا أبا بكر فليصل بالناس فعادت فقال: مري أبا بكر فليصل بالناس، فإنكن صواحب يوسف فأتاه الرسول، فصلى بالناس في حياة النبي ﷺ.
Bukhari narrated it in the Book of Adhan (678), and Muslim in the Book of Prayer (420), both through the route of Husayn bin Ali, from Zaida, from Abdul-Malik bin Umayr, who said, Abu Burda narrated to me, from Abu Musa, and he mentioned it.