Mughira bin Shuba reported,

The Prophet ﷺ said, "The funeral prayer is performed over a miscarried child, and supplication is made for its parents asking for forgiveness and mercy."

Azami 3720

Sahih

عن المغيرة بن شعبة، قال

قال النبي ﷺ: السقط يصلى عليه، ويدعى لوالديه بالمغفرة والرحمة.

الأعظمي 3720صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Prayer over the deceased
Section
Prayer over the stillborn child
Numbering
Jami al-Kamil 3720 (2nd edition)
Azami 3720