(Imām Bukhārī narrates): Ibrāhīm ibn al-Mundhir narrated to us, he said: Ibn Abī Fudaik narrated to us, he said: Ibn Abī Dhi'b narrated to us, from al-Maqburī, from Abī Salamah ibn 'Abdur-Rahmān, from 'Ā'ishah, may Allāh be pleased with her, that:
the Prophet ﷺ had a mat which he used to spread during the day, and at night he used to make it like a chamber (enclosure). So some people came to him, and they prayed behind him.
حَدَّثَنَا إِبْرَاهِيمُ بْنُ الْمُنْذِرِ، قَالَ حَدَّثَنَا ابْنُ أَبِي فُدَيْكٍ، قَالَ حَدَّثَنَا ابْنُ أَبِي ذِئْبٍ، عَنِ الْمَقْبُرِيِّ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ عَائِشَةَ ـ رضى الله عنها ـ أَنَّ النَّبِيَّ صلى الله عليه وسلم كَانَ لَهُ حَصِيرٌ يَبْسُطُهُ بِالنَّهَارِ، وَيَحْتَجِرُهُ بِاللَّيْلِ، فَثَابَ إِلَيْهِ نَاسٌ، فَصَلَّوْا وَرَاءَهُ.
Reference: Sahih Al Bukhari 730