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]."
حدثنا الحسن بن علي
سمعت حماد بن سلمة يفسر حديث كل مولود يولد على الفطرة قال هذا عندنا حيث أخذ الله عليهم العهد في أصلاب آبائهم حيث قال {ألست بربكم قالوا بلى}
No references are available.
Its isnad is sahih. Bayhaqi: 6/203 narrated it from the hadith of Abu Dawud through the same route.