The Kennel Club (UK) and the American Kennel Club (AKC) both recommend that puppies are over 8 weeks old before being rehomed.
The AKC explains that this allows The breeder to complete The weaning process and to make sure that the puppy is settled on solid food.