Ayesha reported,

When the Messenger of Allah ﷺ grew gravely ill, Bilal came to call him to the prayer. He said, "Tell Abu Bakr to lead the people in prayer."She said, I said, "Messenger of Allah, Abu Bakr is a tender-hearted man, and whenever he stands in your place, the people will not be able to hear him. Perhaps you could instruct Umar instead."He said, "Tell Abu Bakr to lead the people in prayer."She said, I said to Hafsah, "Tell him that Abu Bakr is a tender-hearted man, and whenever he stands in your place the people will not be able to hear him. Perhaps he could instruct Umar instead."So she told him, and the Messenger of Allah ﷺ said, "You are indeed like the women who tried to tempt Yusuf. Tell Abu Bakr to lead the people in prayer."She said, So they instructed Abu Bakr to lead the people in prayer. When he entered into the prayer, the Messenger of Allah ﷺ felt some relief, so he stood up, supported between two men, with his feet dragging along the ground.She said, When he entered the mosque, Abu Bakr heard his movement and began to step back, but the Messenger of Allah ﷺ gestured to him to stay in his place. The Messenger of Allah ﷺ came forward and sat down on the left of Abu Bakr.She said, So the Messenger of Allah ﷺ led the people in prayer while seated, and Abu Bakr stood, following the prayer of the Prophet ﷺ, while the people followed the prayer of Abu Bakr.

Muslim 941

Sahih

حدثنا أبو بكر بن أبي شيبة حدثنا أبو معاوية ووكيع ح و حدثنا يحيى بن يحيى واللفظ له قال أخبرنا أبو معاوية عن الأعمش عن إبراهيم عن الأسود

عن عائشة قالت

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

مسلم 941صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Prayer
Chapter
Appointing a deputy by the imam when he has an excuse such as illness, travel, or other reasons to lead the people in prayer, and that whoever prays behind an imam who is sitting due to inability to stand must stand if he is able, and the abrogation of sitting behind a sitting imam for those capable of standing
Numbering
Darussalam 941
Muslim 941