Rafi reported,

His parents brought a dispute over him before the Prophet ﷺ, one of them being a Muslim and the other a disbeliever. The Prophet ﷺ gave the child the choice. The boy turned toward the disbelieving parent, so the Prophet ﷺ said, "O Allah, guide him." The boy then turned toward the Muslim parent, and the Prophet ﷺ ruled in his favor.

Ahmad 23755

Sahih

حدثنا إسماعيل عن عثمان البتي

عن عبد الحميد بن سلمة عن أبيه عن جده

أن أبويه اختصما فيه إلى النبي ﷺ وأحدهما مسلم والآخر كافر فخيره فتوجه إلى الكافر منهما فقال اللهم اهده فتوجه إلى المسلم فقضى له به

أحمد 23755صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Salama Ansari
Numbering
Darussalam 23755
Ahmad 23755