Hajjaj bin Minhal reported,

I heard Hammad bin Salama explaining the hadith, "Every child is born upon the fitrah." He said, "In our view, this refers to the moment when Allah took the covenant from them while they were still in the loins of their fathers, when He said, 'Am I not your Lord? They said, Yes' [Araf 7:172]."

Abu Dawud 4716

Sahih

حدثنا الحسن بن علي

حدثنا حجاج بن المنهال قال

سمعت حماد بن سلمة يفسر حديث كل مولود يولد على الفطرة قال هذا عندنا حيث أخذ الله عليهم العهد في أصلاب آبائهم حيث قال {ألست بربكم قالوا بلى}

أبو داود 4716صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Sunnah
Chapter
Children of the polytheists
Numbering
Darussalam 4716
Abu Dawud 4716