Sunan An-Nasa'i - سنن النسائي
8. The Book of the Masjids - كتاب المساجد
18) Chapter: Pitching A Khiba' (Tent Made Of Wool) [1] In the Masjid
It was narrated that 'Aishah said:
"Sa'd was wounded on the day of Al-Khandaq [1] when a man of Quraish shot him in the medial arm vein. The Messenger of Allah (ﷺ) pitched a tent (Khaimah) for him in the Masjid so that he could visit him close at hand."
[1] Al-Khandaq means the trench. This indicates the battle of the trench which took place during the fifth year after Hijrah.
18) باب ضَرْبِ الْخِبَاءِ فِي الْمَسَاجِدِ
أَخْبَرَنَا عُبَيْدُ اللَّهِ بْنُ سَعِيدٍ، قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ، قَالَ حَدَّثَنَا هِشَامُ بْنُ عُرْوَةَ، عَنْ أَبِيهِ، عَنْ عَائِشَةَ، قَالَتْ أُصِيبَ سَعْدٌ يَوْمَ الْخَنْدَقِ رَمَاهُ رَجُلٌ مِنْ قُرَيْشٍ رَمْيَةً فِي الأَكْحَلِ فَضَرَبَ عَلَيْهِ رَسُولُ اللَّهِ صلى الله عليه وسلم خَيْمَةً فِي الْمَسْجِدِ لِيَعُودَهُ مِنْ قَرِيبٍ .