Waleed bin Muslim narrates: I said to Imam Malik: I have been told regarding Sayyida Aisha (may Allah be pleased with her) that she said: "A woman can be pregnant for up to two years, and not longer even by as long as it takes the shadow of a spindle to shift." So Imam Malik said: "Subhan Allah! How can anyone say such a thing? This neighbour of ours, who is the wife of Muhammad bin Ajlan, she is a pious woman, and her husband is also a pious man. She has given birth to three children in twelve years, each of whom remained in their mother's womb for four years."
Hadith Referenceسنن الدارقطني / كتاب النكاح / 3877