I was separated from my mother the first 3 days of my life, but eventually became "gifted", while my parents have average intelligence, as well as my sister, who was not separated after birth.
of course long-term maternal deprivation usually has an adverse effect on intelligence. but one 2001 study on rats showed that taking them away from their mother only for one day after birth (the third day) was enough to change their whole life, seemingly giving them either high or low intelligence – not changing the total average, but severely increasing the variance. (they didn't investigate why this may be, but other studies show that maternal deprivation increases synaptic plasticity in the prefrontal cortex, which is definitely part of the explanation for this phenomenon.)
I couldn't find any more research on a relation between intelligence and short-time maternal deprivation. the only similar case I know is that of the "Unabomber" Ted Kaczynski, who was separated from his parents for many weeks at age 6 months, and also came to be exceptionally gifted.
is your personal case (or that of your child) similar to mine? let's collect! (I'm also happy if you reply many years after this post. hello to the future!)