Sayyidah Aishah (may Allah be pleased with her) narrates: When Sayyiduna Sa'd bin Mu'adh (may Allah be pleased with him) was wounded on the Day of the Trench, when a man shot an arrow into his arm, the Messenger of Allah (peace and blessings be upon him) set up a tent for him in the mosque so that he could keep visiting him from nearby.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6587