Ismail Suddi reported,

I asked Anas bin Malik, "Did the Messenger of Allah ﷺ perform the funeral prayer over his son Ibrahim?"He replied, "I do not know. May Allah have mercy on Ibrahim. Had he lived, he would have been a truthful man and a prophet."I then asked, "When I finish my prayer, should I turn away to my right or to my left?"He said, "As for me, I saw the Messenger of Allah ﷺ turn away to his right."

Azami 3767

Hasan

عن إسماعيل السدي قال

سألت أنس بن مالك قلت: صلى رسول الله ﷺ على ابنه إبراهيم قال: لا أدري، رحمة الله على إبراهيم، لو عاش كان صديقا نبيا، قال: قلت: كيف أنصرف إذا صليت، عن يميني أو عن يساري؟ قال: أما أنا فرأيت رسول الله ﷺ ينصرف عن يمينه.

الأعظمي 3767حسن
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Funerals
Chapter
Children of Muslims and polytheists
Section
Prayer of the Prophet ﷺ for his son Ibrahim عليه السلام
Numbering
Jami al-Kamil 3767 (2nd edition)
Azami 3767