Rafi reported,

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

Ibn Majah 2352

Hasan

حدثنا أبو بكر بن أبي شيبة حدثنا إسمعيل ابن علية عن عثمان البتي

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

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

ابن ماجه 2352حسن
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Rulings
Chapter
Giving a child the choice between his parents
Numbering
Darussalam 2352
Ibn Majah 2352