Hadith 1509
Chapter 26: What was narrated concerning offering the funeral prayer for a child - كتاب الجنائز
حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا الْبَخْتَرِيُّ بْنُ عُبَيْدٍ، عَنْ أَبِيهِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ قَالَ النَّبِيُّ ـ صلى الله عليه وسلم ـ " صَلُّوا عَلَى أَطْفَالِكُمْ فَإِنَّهُمْ مِنْ أَفْرَاطِكُمْ " .
It was narrated that Abu Hurairah said:
“The Prophet (ﷺ) said: ‘Offer the (funeral) prayer for your children, for they have gone ahead of you (i.e. to prepare your place in Paradise for you).”
ابوہریرہ رضی اللہ عنہ کہتے ہیں کہ
نبی اکرم صلی اللہ علیہ وسلم نے فرمایا : ” اپنے بچوں کی نماز جنازہ پڑھو ، کیونکہ وہ تمہارے پیش رو ہیں “ ۔
Reference : Sunan Ibn Majah 1509
In-book reference : Book 6, Hadith 77