Jabir b. 'Abdullah reported Allah's Messenger (ﷺ) as saying:A brother of yours has died, so stand up and offer prayer over him. So we stood up and drew ourselves up into two rows
Hadith No. 2209
Sahih Muslim