There is a wonderful Jewish tradition that says while a baby is the womb the fetus learns the entire Torah (Jewish bible). However, just before the baby is born, God sends an angel who touches the fetus on the upper lip causing the baby to forget all that it knows. It also is meant to explain the philtrum (the indentation on our upper lips).
Hamas on the other hand, has a different interpretation of what happens when the baby is in the womb they are already choosing Jihad and Resistance:
Hamas: The Mosque is a “factory educating Jihad fighters” -even the Muslim fetus seeks Jihad
by Itamar Marcus and Barbara Crook
While the mosque is perceived by many as simply the Muslim house of worship, a Hamas religious leader explains that it is actually “the prime factory educating Jihad Fighters.” Furthermore, he asserts, Jihad – the war to spread Islam over the entire earth – is so integral to Islam that every Muslim fetus in the world calls for unity through Jihad.
“True foundation and education start in the mosques… Do you realize what the mosque is? It is a prime factory educating men to fear and please Allah; [it is] the prime factory educating Jihad fighters…
The mosque is the life of Muslims, and the symbol of their courage and honor… The Palestinian fetus in its mother’s womb, the Muslim fetus throughout the world in its mother’s womb, call [on Muslims] to unite through fear of Allah, through pleasing Him, and through choosing Jihad and Resistance [terror].”[Al-Aqsa (Hamas) TV, April 24, 2009]