Zayd bin Thabit reported,

The Prophet ﷺ set up a small enclosure in the mosque made of reed mats, and the Messenger of Allah ﷺ prayed inside it for several nights until people gathered around him. He mentioned something similar, adding, "Had it been prescribed upon you, you would not have been able to keep up with it."

Muslim 1826

Sahih

و حدثني محمد بن حاتم حدثنا بهز حدثنا وهيب حدثنا موسى بن عقبة قال سمعت أبا النضر عن بسر بن سعيد

عن زيد بن ثابت

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

مسلم 1826صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Travelers' prayer and its shortening
Chapter
Recommendation of praying voluntary prayers at home and their permissibility in the masjid
Numbering
Darussalam 1826
Muslim 1826