Sahih Muslim
Sahih Muslim 781b
وَحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا بَهْزٌ، حَدَّثَنَا وُهَيْبٌ، حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ، قَالَ سَمِعْتُ أَبَا النَّضْرِ، عَنْ بُسْرِ بْنِ سَعِيدٍ، عَنْ زَيْدِ بْنِ ثَابِتٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم اتَّخَذَ حُجْرَةً فِي الْمَسْجِدِ مِنْ حَصِيرٍ فَصَلَّى رَسُولُ اللَّهِ صلى الله عليه وسلم فِيهَا لَيَالِيَ حَتَّى اجْتَمَعَ إِلَيْهِ نَاسٌ . فَذَكَرَ نَحْوَهُ وَزَادَ فِيهِ " وَلَوْ كُتِبَ عَلَيْكُمْ مَا قُمْتُمْ بِهِ " .
Zayd ibn Thabit reported that the Prophet (ﷺ) made a screened space of a mat in the mosque and prayed there for several nights, until people gathered around him. The report continues similarly and adds: “Had it been prescribed for you, you would not have been able to keep it up.”