Black-footed ferrets are wild carnivores and natural predators of small rodents, including guinea pigs.
It is extremely dangerous and irresponsible to put a black-footed ferret and a guinea pig together. The ferret would likely see the guinea pig as prey and attack and kill it.
Keeping black-footed ferrets as pets is illegal in most places. They are endangered and require specialized care. Keep the animals separate to prioritize their safety and well-being.