(52) باب إِسْلاَمِ أَحَدِ الزَّوْجَيْنِ وَتَخْيِيرِ الْوَلَدِ
It was narrated from 'Abdul-Hamid bin Salamah Al-Ansari, from his father, from his grandfather, that he became Muslim but his wife refused to become Muslim. A young son of theirs, who had not yet reached puberty, came, and the Prophet seated the father on one side and the mother on the other side, and he gave him the choice. He said:
"O Allah, guide him," and (the child) went to his father.
Reference: Sunan an-Nasa'i 3495
In-book reference: Book 27, Hadith 107
English translation: Vol. 4, Book 27, Hadith 3525