Abu Musa Ashari reported,

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 women are like the companions of Yusuf."So the messenger came to Abu Bakr, and he led the people in prayer during the Prophet's ﷺ lifetime.

Bukhari 678

Sahih

حدثنا إسحاق بن نصر قال حدثنا حسين عن زائدة عن عبد الملك بن عمير قال حدثني أبو بردة

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

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

البخاري 678صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Adhan
Chapter
People of knowledge and virtue are more deserving of leading prayer
Numbering
Darussalam 678
Bukhari 678