[Machine] The Messenger of Allah, ﷺ , said: "Three rows of Muslims praying for a deceased Muslim, seeking forgiveness for him, is obligatory, so when Malik prayed for a deceased person, his family would say to them: 'Arrange yourselves in three rows and then pray upon him.' This is the wording of the hadith of Jarir ibn Hazim, and in another narration by Yazid ibn Harun: 'So that he may be forgiven.'"
قَالَ رَسُولُ اللهِ ﷺمَا صَلَّى ثَلَاثَةُ صُفُوفٍ مِنَ الْمُسْلِمِينَ عَلَى رَجُلٍ مُسْلِمٍ يَسْتَغْفِرُونَ لَهُ إِلَّا أَوْجَبَ فَكَانَ مَالِكٌ إِذَا صَلَّى عَلَى جِنَازَةٍ يَعْنِي فَتَقَالَ أَهْلَهَا صَفَّهُمْ صُفُوفًا ثَلَاثَةً ثُمَّ يُصَلِّي عَلَيْهَا لَفْظُ حَدِيثِ جَرِيرِ بْنِ حَازِمٍ وَفِي رِوَايَةِ يَزِيدَ بْنِ هَارُونَ إِلَّا غُفِرَ لَهُ