عَنِ الْمُغِيرَةِ بْنِ شُعْبَةَ رَضِيَ اللَّهُ عَنْهُ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ: ((السِّقْطُ (وَفِي رِوَايَةٍ الطِّفْلُ) يُصَلَّى عَلَيْهِ وَيُدْعَى لِوَالِدَيْهِ بِالْمَغْفِرَةِ وَالرَّحْمَةِ))
It is narrated from Sayyiduna Mughirah bin Shu’bah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: The funeral prayer should be offered for a prematurely born, incomplete child, and forgiveness and mercy should be supplicated for his parents.