It's different for every birth. Some labors can take 30 minutes, some can take 30 hours.
It takes about 5-30 minutes for a mother to give birth to her baby(s). If it takes longer than that you have to get some help or go to the vet because if you don't the female guinea pig could die. Or...
An average of 42 days is the time is takes for a ferret to give birth.
A sheep is pregnant for five months but the actual birthing process (lambing) can take less than an hour.
it takes up to 28-30 if its a big rabbit if its a small rabbit it takes 30-35