Peace,
The Gospels of the Infancy were two books that were written in the 2nd or 3rd centuries. They were very flaky books and were likely fabricated.
They were so questionable that they weren't allowed into the Christian canon. Nonetheless, they were popular books in places like Arabia.
[5.110] When Allah will say: O Isa son of Marium! Remember My favor on you and on your mother, when I strengthened you I with the holy Spirit, you spoke to the people in the cradle and I when of old age, and when I taught you the Book and the wisdom and the Taurat and the Injeel; and when you determined out of clay a thing like the form of a bird by My permission, then you breathed into it and it became a bird by My permission, and you healed the blind and the leprous by My permission; and when you brought forth the dead by My permission; and when I withheld the children of Israel from you when you came to them with clear arguments, but those who disbelieved among them said: This is nothing but clear enchantment"
Jesus spoke even while he was still in is cradle, and he said to his mother, "Mary, I am Jesus the Son of God, that word which you did bring forth according to the declaration of the angel Gabriel to you, and my Father sent me for the salvation of the world.
I Infancy 1:2-3
Then he[Jesus] took soft clay from the bank of the stream and formed from it into twelve sparrows; and there were other boys playing with him.
II Infancy 1:4
Did Allah really give permission for little Isa to make birds from clat and speak from a cradle--when such things never happened?
We can see that Muhammed took material from these questionable books when we wrote the Quran.