Al-Ilmam bi-Ahadith al-Ahkam 544
وَعَن عَائِشَة رَضِيَ اللَّهُ عَنْها " أَن رَسُول الله ﷺ خرج لَيْلَة من جَوف اللَّيْل فَصَلى فِي الْمَسْجِد، وَصَلى رجال بِصَلَاتِهِ، فَأصْبح النَّاس فتحدثوا، فَاجْتمع أَكثر مِنْهُم فَصَلى فصلوا (مَعَه) بِصَلَاتِهِ فَأصْبح النَّاس فتحدثوا، فَكثر أهل الْمَسْجِد من اللَّيْل الثَّالِثَة (فَخرج رَسُول الله ﷺ فَصَلى بِصَلَاتِهِ) فَلَمَّا كَانَت (اللَّيْلَة) الرَّابِعَة عجز الْمَسْجِد عَن أَهله حَتَّى خرج لصَلَاة الصُّبْح، فَلَمَّا قضي الْفجْر أقبل عَلَى النَّاس ثمَّ تشهد فَقَالَ: " أما بعد، فَإِنَّهُ لم يخف عليّ مَكَانكُمْ، وَلَكِنِّي خشيت أَن تفرض عَلَيْكُم فتعجزوا عَنْهَا ". فَتوفي رَسُول الله ﷺ وَالْأَمر عَلَى ذَلِك. لفظ البُخَارِيّ فِيهَا .
And from ʿAʾishah, may Allah be pleased with her: "The Messenger of Allah ﷺ went out one night in the depth of the night and prayed in the mosque, and some men prayed following his prayer. In the morning the people talked about it, and more of them gathered. He prayed, and they prayed (with him), following his prayer. In the morning the people talked about it, and the people in the mosque increased on the third night. (The Messenger of Allah ﷺ came out and they prayed following his prayer.) When it was the fourth (night), the mosque could not hold its people, [and he did not come out] until he came out for the Subh prayer. When Fajr was over, he turned to the people, recited the tashahhud, and said: 'To proceed: your presence was not hidden from me, but I feared that it would be made obligatory upon you and you would be unable to do it.'" The Messenger of Allah ﷺ died with the matter like that. The wording in it is al-Bukhari's.