Malikbin Hubairah Ash-Shami, who was a Companion of the Prophet(ﷺ),said:
"If a funeral procession was brought and the number ofpeoplewho followed it was considered to be small, they would beorganizedinto three rows, then the funeral prayer would be offered."Hesaid: "The Messenger of Allah (ﷺ) said: 'No three rows ofMuslimsoffer the funeral prayer for one who has died, but he will beguaranteed (Paradise).'" (FR)
English reference (FR): Vol. 1, Book 6, Hadith 1490 (FR)
Arabic reference (FR): Book 6, Hadith 1557 (FR)