Abu Musa Ashari reported,

The Messenger of Allah ﷺ fell ill, and his illness grew severe. He said, "Tell Abu Bakr to lead the people in prayer."Ayesha said, "Messenger of Allah, Abu Bakr is a tender-hearted man. Whenever 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. You women are like the companions of Yusuf."So Abu Bakr led them in prayer during the lifetime of the Messenger of Allah ﷺ.

Azami 9333

Sahih

عن أبي موسى قال

مرض رسول الله ﷺ فاشتد مرضه فقال: مروا أبا بكر فليصل بالناس فقالت عائشة: يا رسول الله! إن أبا بكر رجل رقيق، متى يقم مقامك لا يستطع أن يصلي بالناس فقال: مري أبا بكر فليصل بالناس، فإنكن صواحب يوسف قال: فصلى بهم أبو بكر حياة رسول الله ﷺ.

الأعظمي 9333صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Biography of the Prophet ﷺ
Chapter
Nearness of his death, his foretelling of it, his passing, and his burial
Section
Prophet ﷺ smiling during his final illness
Numbering
Jami al-Kamil 9333 (2nd edition)
Azami 9333