The minimum gestation period
Scholars of Islamic law unanimously agree that the minimum gestation period is generally six months. They based this on the following two Qur`anic verses:
And We have enjoined upon man, to his parents, good treatment. His mother carried him with hardship and gave birth to him with hardship, and his gestation and weaning [period] is thirty months.
Mothers may breastfeed their children two complete years for whoever wishes to complete the nursing [period].
Since the above verses demonstrate that the nursing and weaning period is twenty four months (as stated in the second verse) and the gestation and nursing period is thirty months (as stated in the first verse), then this indicates that the minimum gestation period is six months.
The above answers the question and Allah Almighty knows best.